@@ -853,7 +853,8 @@ _LIBCPP_VARIANT_MOVE_CONSTRUCTOR(
853853_LIBCPP_VARIANT_MOVE_CONSTRUCTOR (
854854 _Trait::_Available,
855855 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __move_constructor (__move_constructor&& __that) noexcept (
856- __all<is_nothrow_move_constructible_v<_Types>...>::value) : __move_constructor(__valueless_t {}) {
856+ __all<is_nothrow_move_constructible_v<_Types>...>::value)
857+ : __move_constructor(__valueless_t {}) {
857858 this ->__generic_construct (*this , std::move (__that));
858859 } _LIBCPP_EAT_SEMICOLON);
859860
@@ -889,9 +890,8 @@ _LIBCPP_VARIANT_COPY_CONSTRUCTOR(
889890
890891_LIBCPP_VARIANT_COPY_CONSTRUCTOR (
891892 _Trait::_Available,
892- _LIBCPP_HIDE_FROM_ABI
893- _LIBCPP_CONSTEXPR_SINCE_CXX20 __copy_constructor (const __copy_constructor& __that) : __copy_constructor(
894- __valueless_t {}) { this ->__generic_construct (*this , __that); } _LIBCPP_EAT_SEMICOLON);
893+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __copy_constructor (const __copy_constructor& __that)
894+ : __copy_constructor(__valueless_t {}) { this ->__generic_construct (*this , __that); } _LIBCPP_EAT_SEMICOLON);
895895
896896_LIBCPP_VARIANT_COPY_CONSTRUCTOR (
897897 _Trait::_Unavailable,
@@ -1581,8 +1581,8 @@ visit(_Visitor&& __visitor, _Vs&&... __vs) {
15811581
15821582template <class ... _Types>
15831583_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 auto
1584- swap (variant<_Types...>& __lhs, variant<_Types...>& __rhs) noexcept ( noexcept (__lhs.swap(__rhs)))
1585- -> decltype (__lhs.swap(__rhs)) {
1584+ swap (variant<_Types...>& __lhs,
1585+ variant<_Types...>& __rhs) noexcept ( noexcept (__lhs.swap(__rhs))) -> decltype (__lhs.swap(__rhs)) {
15861586 return __lhs.swap (__rhs);
15871587}
15881588
0 commit comments