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

Name

Description

T

class with which to associate the trait

TRAIT

trait tag to associate with T

Created with MrDocs