bsl::Pair_Second<TYPE&>::Pair_Second

Construct the second member from the single element of arg.

Synopsis

Declared in <bslstl_pair.h>

template<class ARG>
constexpr
Pair_Second(
    std::tuple<ARG>&& arg,
    BloombergLP::bslstl::Pair_IndexSequence<0U> indices);

Description

Construct the second member of a pair, forwarding in order the elements in the specified arg tuple to the corresponding constructor of (template parameter) TYPE. The length of the tuple is equal to the length of the index sequence passed to the constructor via the Pair_IndexSequence object.

Parameters

NameDescription
argsingle-element tuple forwarded to the constructor of TYPE
indicesindex sequence enumerating the elements of arg