[libcxx-commits] [libcxx] [libc++] Add an ABI flag to make __bit_iterator trivially copyable (PR #172271)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 19 09:46:50 PST 2025
================
@@ -314,10 +314,15 @@ public:
// When _IsConst=true, this is a converting constructor;
// the copy and move constructors are implicitly generated
// and trivial.
+#ifdef _LIBCPP_ABI_TRIVIALLY_COPYABLE_BIT_ITERATOR
----------------
ldionne wrote:
Let's have two disjoint sets of constructors instead, I think it'll be a lot easier to understand.
https://github.com/llvm/llvm-project/pull/172271
More information about the libcxx-commits
mailing list