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;

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;

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

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

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;

Created with MrDocs