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);
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);
Return Value
-
std::pairof references to the fields ofpair -
std::pairof const references to the fields ofpair
Parameters
Name |
Description |
pair |
pair whose fields are referenced |
Created with MrDocs