Construct the first member from the elements of argsPack.

Synopsis

Declared in <bslstl_pair.h>

template<
    class... ARGS,
    size_t I...>
Pair_First(
    std::tuple<ARGS...>&& argsPack,
    BloombergLP::bslstl::Pair_IndexSequence<I...> indices);

Description

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.

Parameters

Name

Description

argsPack

tuple of arguments forwarded to the constructor of TYPE

indices

index sequence enumerating the elements of argsPack

Created with MrDocs