BloombergLP::bslma::AAModelIsSupported<TYPE, AAModelLegacy>

Specialization of AAModelIsSupported for the legacy-AA model.

Description

Specialization of AAModelIsSupported for MODEL == AAModelLegacy, yielding true_type if TYPE can use bslma::Allocator * as its memory resource. Specifically, it is true if UsesBslmaAllocator<TYPE> is true or if TYPE::allocator_type exists and is convertible from bslma::Allocator *.

Base Classes

NameDescription
bsl::integral_constant<bool, UsesBslmaAllocator<TYPE>::value || AAModelIsSupported<TYPE, AAModelBsl>::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.