Predicate metafunction that determines if the specified TYPE supports the specified MODEL AA model. It yields (i.e., is derived from) bsl:true_type if type TYPE supports AA model MODEL; otherwise it yields false_type. MODEL Must be one of AAModelNone, AAModelLegacy, AAModelBsl, AAModelPmr, or AAModelStl. This metafunction can yield true_type for more than one type MODEL type, e.g., it will yield true_type if TYPE is bsl‐AA, and MODEL is either AAModelBsl or AAModelLegacy, since TYPE can be constructed with either allocator type.
Synopsis
Declared in <bslma_aamodel.h>
template<
class TYPE,
class MODEL>
struct AAModelIsSupported
: bsl::false_type
Base Classes
Name |
Description |
Metafunction representing the boolean constant |
Specializations
Name |
Description |
Specialization of |
|
Specialization of |
|
Specialization of |
|
Specialization of |
|
Specialization of |
Created with MrDocs