[#BSLALG_DECLARE_NESTED_TRAITS]
= BSLALG&lowbar;DECLARE&lowbar;NESTED&lowbar;TRAITS
:mrdocs:

Associate the specified `TRAIT` tag with the specified `T` class&period; This macro must be invoked only within the public part of the definition of class `T`&period; `TRAIT` must name a class such that `TRAIT&colon;&colon;NestedTraitDeclaration&lt;T&gt;` designates a class derived from `bslmf&colon;&colon;DetectNestedTrait`&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;typetraits&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define BSLALG&lowbar;DECLARE&lowbar;NESTED&lowbar;TRAITS(T, TRAIT)

----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
