BSLALG_DECLARE_NESTED_TRAITS

Associate the specified TRAIT tag with the specified T class.

Synopsis

Declared in <bslalg_typetraits.h>

#define BSLALG_DECLARE_NESTED_TRAITS(T, TRAIT)

Description

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.

Parameters

NameDescription
Tclass with which to associate the trait
TRAITtrait tag to associate with T