BloombergLP::bslstl::Pair_GetImpUtil<1U, T1, T2>::getPairElement

getPairElement overloads

Synopses

Declared in <bslstl_pair.h>

Return a reference providing modifiable access to the second element of the specified p.

static
T2&
getPairElement(bsl::pair<T1, T2>& p) noexcept;
» more...

Return a reference providing non-modifiable access to the second element of the specified p.

static
T2 const&
getPairElement(bsl::pair<T1, T2> const& p) noexcept;
» more...

Return a rvalue reference providing modifiable access to the second element of the specified p

static
T2&&
getPairElement(bsl::pair<T1, T2>&& p) noexcept;
» more...

Return a rvalue reference providing non-modifiable access to the second element of the specified p

static
T2 const&&
getPairElement(bsl::pair<T1, T2> const&& p) noexcept;
» more...