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.
Declared in <bslstl_pair.h>
template<
class TYPE,
class... ARGS>
struct Pair_ConstructionParametersPackLength
: integral_constant<int, sizeof...(ARGS) + Pair_BslmaIdiom<TYPE>::value>
| Name | Description |
|---|---|
integral_constant<int, sizeof...(ARGS) + Pair_BslmaIdiom<TYPE>::value> | Metafunction representing a compile-time constant of the specified (template parameter) t_TYPE with the specified (template parameter) t_VALUE. |
| Name | Description |
|---|---|
type | Alias for this integral_constant specialization. |
value_type |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |
operator value_type |
| Name |
|---|
value |