bsl::Pair_First<TYPE&>::Pair_First

Constructors

Synopses

Declared in <bslstl_pair.h>

Pair_First(Pair_First const& other) = default;
» more...
Pair_First(Pair_First&& other) = default;
» more...

Bind the specified value into the first reference-member.

constexpr
explicit
Pair_First(TYPE& value);
» more...
template<
    class PARAM,
    class = void>
requires std::is_constructible<TYPE, PARAM>::value
constexpr
explicit
Pair_First(PARAM&& value);
» more...

Construct the first member of a pair, forwarding in order the elements in the specified argsPack to the corresponding constructor of (template parameter) TYPE. The length of the argsPack is equal to the length of the specified (template parameter pack) I... and passed to the constructor via the Pair_IndexSequence object.

template<class ARG>
constexpr
Pair_First(
    std::tuple<ARG>&& arg,
    BloombergLP::bslstl::Pair_IndexSequence<0U>);
» more...
template<class PARAM>
constexpr
Pair_First(
    PARAM&& value,
    BloombergLP::bslma::Allocator* basicAllocator,
    Pair_BslmaIdiomNone);
» more...