BloombergLP::bdlb::PairUtil::stdPairRefAdaptor

stdPairRefAdaptor overloads

Synopses

Declared in <bdlb_pairutil.h>

Return std::pair containing references to the fields of the specified pair.

template<
    class t_FIRST,
    class t_SECOND>
constexpr
std::pair<t_FIRST&, t_SECOND&>
stdPairRefAdaptor(bsl::pair<t_FIRST, t_SECOND>& pair);
» more...

See the overload above for contract.

template<
    class t_FIRST,
    class t_SECOND>
constexpr
std::pair<t_FIRST const&, t_SECOND const&>
stdPairRefAdaptor(bsl::pair<t_FIRST, t_SECOND> const& pair);
» more...