[libcxx-commits] [libcxx] [libc++] Make std::pair trivially copyable if its members are (PR #89652)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 23 12:04:03 PDT 2024


ldionne wrote:

> I'm not sure why a `pair` with a `const` member is not trivially copyable anymore though. An explicitly defaulted special member should just be implicitly deleted.

Right? I'm banging my head around that one too.

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


More information about the libcxx-commits mailing list