[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 8 08:38:23 PST 2024
================
@@ -833,21 +831,26 @@ 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; \
+ _LIBCPP_HIDE_FROM_ABI __move_constructor(const __move_constructor&) = default; \
----------------
ldionne wrote:
Potential nitpick for a future patch: maybe renaming the macro parameter to something like `move_constructor_definition` would make things a bit clearer? I don't know.
https://github.com/llvm/llvm-project/pull/83335
More information about the libcxx-commits
mailing list