Constructors
Synopses
Declared in <bslstl_pair.h>
Bind second to the entity bound to other.second.
Pair_Second(Pair_Second const& other) = default;
Bind second to the entity bound to other.second.
Pair_Second(Pair_Second&& other) = default;
Bind the specified value into the second reference‐member.
constexpr
explicit
Pair_Second(TYPE&& value);
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);
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);
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);
Parameters
Name |
Description |
other |
object whose |
value |
entity to bind into the |
arg |
single‐element tuple forwarded to the constructor of |
indices |
index sequence enumerating the elements of |
basicAllocator |
allocator argument, which is not used |
idiom |
tag selecting the no‐allocator construction idiom |
Created with MrDocs