bsl::Pair_First<TYPE&>::Pair_First

Constructors

Synopses

Declared in <bslstl_pair.h>

Bind first to the entity bound to other.first.

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

Bind first to the entity bound to other.first.

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

Bind the specified value into the first reference-member.

constexpr
explicit
Pair_First(TYPE& value);
» more...

Bind the specified value into the first reference-member.

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

Construct the first member from the single element of arg.

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

Bind value into first; the allocator argument is not used.

template<class PARAM>
constexpr
Pair_First(
    PARAM&& value,
    BloombergLP::bslma::Allocator* basicAllocator,
    Pair_BslmaIdiomNone idiom);
» more...

Parameters

NameDescription
otherobject whose first reference is copied
valueentity to bind into the first reference-member
argsingle-element tuple forwarded to the constructor of TYPE
indicesindex sequence enumerating the elements of arg
basicAllocatorallocator argument, which is not used
idiomtag selecting the no-allocator construction idiom