|
@@ -19,8 +19,7 @@ struct compressed_pair_element {
|
|
|
using const_reference = const Type &;
|
|
using const_reference = const Type &;
|
|
|
|
|
|
|
|
template<bool Dummy = true, typename = std::enable_if_t<Dummy && std::is_default_constructible_v<Type>>>
|
|
template<bool Dummy = true, typename = std::enable_if_t<Dummy && std::is_default_constructible_v<Type>>>
|
|
|
- constexpr compressed_pair_element() noexcept(std::is_nothrow_default_constructible_v<Type>)
|
|
|
|
|
- : value{} {}
|
|
|
|
|
|
|
+ constexpr compressed_pair_element() noexcept(std::is_nothrow_default_constructible_v<Type>) {}
|
|
|
|
|
|
|
|
template<typename Arg, typename = std::enable_if_t<!std::is_same_v<std::remove_cv_t<std::remove_reference_t<Arg>>, compressed_pair_element>>>
|
|
template<typename Arg, typename = std::enable_if_t<!std::is_same_v<std::remove_cv_t<std::remove_reference_t<Arg>>, compressed_pair_element>>>
|
|
|
constexpr compressed_pair_element(Arg &&arg) noexcept(std::is_nothrow_constructible_v<Type, Arg>)
|
|
constexpr compressed_pair_element(Arg &&arg) noexcept(std::is_nothrow_constructible_v<Type, Arg>)
|