[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:18:00 PST 2023
================
@@ -34,7 +34,7 @@ int main(int, char**)
static_assert(!std::is_constructible<std::variant<int, const bool>, decltype("meow")>::value, "");
static_assert(!std::is_constructible<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