BloombergLP::bslma::UsesBslmaAllocator<bsl::pair<T1, T2>>

Trait indicating pair uses bslma allocators when either element does.

Base Classes

NameDescription
bsl::integral_constant<bool, UsesBslmaAllocator<T1>::value || UsesBslmaAllocator<T2>::value>Metafunction representing a compile-time constant of the specified (template parameter) t_TYPE with the specified (template parameter) t_VALUE.

Type Aliases

NameDescription
type Alias for this integral_constant specialization.
value_type Alias for the (template parameter) t_TYPE.

Member Functions

NameDescription
operator() Return a copy of the template argument t_VALUE.
operator t_TYPE Return a copy of the template argument t_VALUE.

Static Data Members

NameDescription
value The compile-time constant value of this metafunction.