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

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.

Type Aliases

Name

Description

type

Alias for this integral_constant specialization.

value_type

Member Functions

Name

Description

operator()

Return a copy of the template argument t_VALUE.

operator value_type

Static Data Members

Name

value

Created with MrDocs