[libcxx-commits] [libcxx] [libc++] Make `constexpr std::variant`. Implement P2231R1 (PR #83335)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 1 09:52:56 PST 2024
================
@@ -834,21 +837,24 @@ class _LIBCPP_TEMPLATE_VIS __move_constructor;
using __base_type::__base_type; \
using __base_type::operator=; \
\
- __move_constructor(const __move_constructor&) = default; \
- move_constructor ~__move_constructor() = default; \
- __move_constructor& operator=(const __move_constructor&) = default; \
- __move_constructor& operator=(__move_constructor&&) = default; \
+ __move_constructor(const __move_constructor&) = default; \
+ _LIBCPP_HIDE_FROM_ABI move_constructor ~__move_constructor() = default; \
----------------
ldionne wrote:
I would mark the move constructor definitions as `HIDE_FROM_ABI` instead.
https://github.com/llvm/llvm-project/pull/83335
More information about the libcxx-commits
mailing list