Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::pair_detail Namespace Reference

Typedef Documentation

◆ deduced_pair_type_t

Internal helper to deduce the expected std::pair type.

Template Parameters
T1The first argument type given to std::make_pair
T2The second argument type given to std::make_pair

Function Documentation

◆ get_impl() [1/2]

template<class Pair>
auto std::pair_detail::get_impl ( integral_constant< size_t, 0 > ,
Pair && values ) ->
constexprnoexcept

access an element of a pair

Template Parameters
Pairspecialization of pair
Parameters
valueslvalue or rvalue reference to a pair
Returns
reference to the first element in values

◆ get_impl() [2/2]

template<class Pair>
auto std::pair_detail::get_impl ( integral_constant< size_t, 1 > ,
Pair && values ) ->
constexprnoexcept

access an element of a pair

Template Parameters
Pairspecialization of pair
Parameters
valueslvalue or rvalue reference to a pair
Returns
reference to the second element in values