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

Synopsis

Declared in <bslstl_pair.h>

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

Return Value

non‐modifiable reference to the second element of p

Parameters

Name

Description

p

pair whose second element is returned

Created with MrDocs