bsl::Pair_Second<TYPE&>::Pair_Second

Constructors

Synopses

Declared in <bslstl_pair.h>

Bind second to the entity bound to other.second.

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

Bind second to the entity bound to other.second.

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

Bind the specified value into the second reference-member.

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

Bind the specified value into the second reference-member.

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

Construct the second member from the single element of arg.

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

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

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

Parameters

NameDescription
otherobject whose second reference is copied
valueentity to bind into the second 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