This component‐private component‐private meta‐function determines the number of elements in a tuple containing parameters for piecewise construction of a bsl::pair member having the specified TYPE. Result value depends on the TYPE, whether it takes a bslma::Allocator* constructor argument and, if so, whether that argument follows an argument of type bsl::allocator_arg_t.
Synopsis
Declared in <bslstl_pair.h>
template<
class TYPE,
class... ARGS>
struct Pair_ConstructionParametersPackLength
: integral_constant<int, sizeof...(ARGS) + Pair_BslmaIdiom<TYPE>::value>
Base Classes
Name |
Description |
Metafunction representing a compile‐time constant of the specified (template parameter) |
Type Aliases
Name |
Description |
Alias for this |
|
Member Functions
Name |
Description |
Return a copy of the template argument |
|