[libcxx-commits] [libcxx] Adds back special-case for booleans in std::variant gated by _LIBCPP_ENABLE_NARROWING_CONVERSIONS_IN_VARIANT. (PR #73121)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 22 08:11:25 PST 2023


bgra8 wrote:

> Can you share some examples of compilation errors you're seeing after this change? Are they vexing or are they stuff where the code was clearly wrong in the first place?

Most of the breakages are caused by clearly wrong code in the first place: https://godbolt.org/z/j6Tj864jT

> Same for runtime errors -- this is actually way more worrisome.

We are actively working for reproducers here. Are you OK if we post them later?

https://github.com/llvm/llvm-project/pull/73121


More information about the libcxx-commits mailing list