9template <
typename T1,
typename T2>
12 constexpr pair() =
default;
14 constexpr pair(
const T1& x,
const T2& y)
18 template <
typename U1,
typename U2>
19 requires std::constructible_from<T1, U1> && std::constructible_from<T2, U2>
20 constexpr pair(U1&& x, U2&& y)
21 : first{
std::forward<U1>(x)}
30 template <
typename U1,
typename U2>
31 requires std::constructible_from<T1, const U1&> && std::constructible_from<T2, const U2&>
36 template <
typename U1,
typename U2>
37 requires std::constructible_from<T1, U1> && std::constructible_from<T2, U2>
39 : first{
std::forward<U1>(
other.first)}
42 template <
typename U1,
typename U2>
43 requires std::constructible_from<T1, const U1> && std::constructible_from<T2, const U2>
45 : first{
std::forward<const U1>(other.first)}
46 , second{
std::forward<const U2>(other.second)} {}
52template <
typename T1,
typename T2>
Definition asm_buffer.hpp:20
pair(T1, T2) -> pair< T1, T2 >
Definition byte_array.hpp:94
constexpr U2 second
Definition pair.hpp:34
constexpr pair & operator=(pair &&)=default
constexpr pair(const T1 &x, const T2 &y)
Definition pair.hpp:14
constexpr pair(U1 &&x, U2 &&y)
Definition pair.hpp:20
constexpr U2 & other
Definition pair.hpp:34
constexpr ~pair()=default
constexpr pair & operator=(const pair &)=default
constexpr pair(pair &&)=default
constexpr pair(const pair &)=default