Associate the specified TRAIT tag with the specified T class.
Declared in <bslalg_typetraits.h>
#define BSLALG_DECLARE_NESTED_TRAITS(T, TRAIT)
This macro must be invoked only within the public part of the definition of class T. TRAIT must name a class such that TRAIT::NestedTraitDeclaration<T> designates a class derived from bslmf::DetectNestedTrait.
| Name | Description |
|---|---|
| T | class with which to associate the trait |
| TRAIT | trait tag to associate with T |