|
template<size_t I, typename T1, typename T2> |
constexpr auto | get (pair< T1, T2 > &&p) noexcept -> tuple_element_t< I, pair< T1, T2 > > && |
| Extracts an element from the pair using tuple-like interface.
|
|
template<size_t I, typename T1, typename T2> |
constexpr auto | get (pair< T1, T2 > &p) noexcept -> tuple_element_t< I, pair< T1, T2 > > & |
| Extracts an element from the pair using tuple-like interface.
|
|
template<size_t I, typename T1, typename T2> |
constexpr auto | get (pair< T1, T2 > const &&p) noexcept -> tuple_element_t< I, pair< T1, T2 > > const && |
| Extracts an element from the pair using tuple-like interface.
|
|
template<size_t I, typename T1, typename T2> |
constexpr auto | get (pair< T1, T2 > const &p) noexcept -> tuple_element_t< I, pair< T1, T2 > > const & |
| Extracts an element from the pair using tuple-like interface.
|
|
template<typename T1, typename T2> |
constexpr auto | make_pair (T1 &&t, T2 &&u) -> pair< decay_t< T1 >, decay_t< T2 > > |
| Creates a etl::pair object, deducing the target type from the types of arguments.
|
|
template<typename T1, typename T2> |
constexpr auto | operator< (pair< T1, T2 > const &lhs, pair< T1, T2 > const &rhs) -> bool |
| Compares lhs and rhs lexicographically by operator<, that is, compares the first elements and only if they are equivalent, compares the second elements.
|
|
template<typename T1, typename T2> |
constexpr auto | operator<= (pair< T1, T2 > const &lhs, pair< T1, T2 > const &rhs) -> bool |
| Compares lhs and rhs lexicographically by operator<, that is, compares the first elements and only if they are equivalent, compares the second elements.
|
|
template<typename T1, typename T2> |
constexpr auto | operator== (pair< T1, T2 > const &lhs, pair< T1, T2 > const &rhs) -> bool |
| Tests if both elements of lhs and rhs are equal, that is, compares lhs.first with rhs.first and lhs.second with rhs.second.
|
|
template<typename T1, typename T2> |
constexpr auto | operator> (pair< T1, T2 > const &lhs, pair< T1, T2 > const &rhs) -> bool |
| Compares lhs and rhs lexicographically by operator<, that is, compares the first elements and only if they are equivalent, compares the second elements.
|
|
template<typename T1, typename T2> |
constexpr auto | operator>= (pair< T1, T2 > const &lhs, pair< T1, T2 > const &rhs) -> bool |
| Compares lhs and rhs lexicographically by operator<, that is, compares the first elements and only if they are equivalent, compares the second elements.
|
|
template<typename T1, typename T2> |
| pair (T1, T2) -> pair< T1, T2 > |
|
template<typename T1, typename T2> |
constexpr auto | swap (pair< T1, T2 > &lhs, pair< T1, T2 > &rhs) noexcept(noexcept(lhs.swap(rhs))) -> void |
| Swaps the contents of x and y. Equivalent to x.swap(y).
|
|