#include <compressed_pair.hpp>
|
using | first_type = First |
|
using | second_type = Second |
|
|
| template (typename U, typename V)(AND const ructible_from< Second |
|
V constexpr | compressed_pair (U &&u, V &&v) noexcept(noexcept(First((U &&) u)) &&noexcept(Second((V &&) v))) |
|
constexpr First & | first () & |
|
constexpr First const & | first () const & |
|
constexpr First && | first () && |
|
constexpr Second & | second () & |
|
constexpr Second const & | second () const & |
|
constexpr Second && | second () && |
|
| template (typename F, typename S)(AND convertible_to< Second const & |
|
S constexpr | operator std::pair< F, S > () const |
|
E AND convertible_to< E, First > constexpr | box (E &&e) noexcept(std::is_nothrow_constructible< First, E >::value) |
|
| template (typename E)(AND const ructible_from< First |
|
| template (typename E)(AND const ructible_from< First |
|
E | AND (!convertible_to< E, First >)) const expr explicit box(E &&e) noexcept(std::is_nothrow_constructible< First, E >::value) |
|
constexpr First & | get () &noexcept |
|
constexpr First const & | get () const &noexcept |
|
constexpr First && | get () &&noexcept |
|
constexpr First const && | get () const &&noexcept |
|
E AND convertible_to< E, Second > constexpr | box (E &&e) noexcept(std::is_nothrow_constructible< Second, E >::value) |
|
| template (typename E)(AND const ructible_from< Second |
|
| template (typename E)(AND const ructible_from< Second |
|
E | AND (!convertible_to< E, Second >)) const expr explicit box(E &&e) noexcept(std::is_nothrow_constructible< Second, E >::value) |
|
constexpr Second & | get () &noexcept |
|
constexpr Second const & | get () const &noexcept |
|
constexpr Second && | get () &&noexcept |
|
constexpr Second const && | get () const &&noexcept |
|
template<typename First, typename Second>
struct ranges::compressed_pair< First, Second >
- See also
make_compressed_tuple_fn
The documentation for this struct was generated from the following files: