Return a rvalue reference providing non‐modifiable access to the first element of the specified p

Synopsis

Declared in <bslstl_pair.h>

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

Return Value

non‐modifiable rvalue reference to the first element of p

Parameters

Name

Description

p

pair whose first element is returned

Created with MrDocs