Constructors
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...
| Name | Description |
|---|---|
| other | object whose second reference is copied |
| value | entity to bind into the second reference-member |
| arg | single-element tuple forwarded to the constructor of TYPE |
| indices | index sequence enumerating the elements of arg |
| basicAllocator | allocator argument, which is not used |
| idiom | tag selecting the no-allocator construction idiom |