[libcxx-commits] [libcxx] [libc++][test] Make narrowing in `nasty_char_traits::to_char_type` more explicit (PR #138375)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 10 05:16:29 PDT 2025
frederick-vs-ja wrote:
> How is this more explicit? It replaces one cast with a different one.
It seems intended that parenthesized (direct-non-list) aggregate initialization behaves like initialization via constructors, and MSVC considers narrowing in ctor-init-list to be "not explicit enough".
https://github.com/llvm/llvm-project/pull/138375
More information about the libcxx-commits
mailing list