[libcxx-commits] [libcxx] P1957R2: remove special-case for booleans in std::variant (PR #71502)

David Benjamin via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 14 11:17:55 PST 2023


================
@@ -35,7 +35,7 @@ int main(int, char**)
   static_assert(!std::is_assignable<std::variant<int, const bool>, decltype("meow")>::value, "");
   static_assert(!std::is_assignable<std::variant<int, const volatile bool>, decltype("meow")>::value, "");
----------------
davidben wrote:

Done.

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


More information about the libcxx-commits mailing list