|
using | first_type = First |
|
using | second_type = Second |
|
|
constexpr | compressed_pair (const compressed_pair &other)=default |
|
constexpr | compressed_pair (compressed_pair &&other) noexcept=default |
|
template<typename Arg , typename Other > |
constexpr | compressed_pair (Arg &&arg, Other &&other) noexcept(std::is_nothrow_constructible_v< first_base, Arg > &&std::is_nothrow_constructible_v< second_base, Other >) |
|
template<typename... Args, typename... Other> |
constexpr | compressed_pair (std::piecewise_construct_t, std::tuple< Args... > args, std::tuple< Other... > other) noexcept(std::is_nothrow_constructible_v< first_base, Args... > &&std::is_nothrow_constructible_v< second_base, Other... >) |
|
constexpr compressed_pair & | operator= (const compressed_pair &other)=default |
|
constexpr compressed_pair & | operator= (compressed_pair &&other) noexcept=default |
|
constexpr auto | first () noexcept -> first_type & |
|
constexpr auto | first () const noexcept -> const first_type & |
|
constexpr auto | second () noexcept -> second_type & |
|
constexpr auto | second () const noexcept -> const second_type & |
|
constexpr void | swap (compressed_pair &other) noexcept |
|
template<std::size_t Index> |
constexpr auto | get () noexcept -> decltype(auto) |
|
template<std::size_t Index> |
constexpr auto | get () const noexcept -> decltype(auto) |
|
◆ get()
template<typename First , typename Second >
template<std::size_t Index>
The documentation for this class was generated from the following file: