[#BloombergLP-bslalg-SelectTrait-Type]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/SelectTrait.adoc[SelectTrait]::Type
:relfileprefix: ../../../
:mrdocs:

The actual trait that was selected, or `TypeTraitNil` if no trait was selected&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef bslmf::Switch&lt;SELECTION, TypeTraitNil, TRAIT1, TRAIT2, TRAIT3, TRAIT4, TRAIT5&gt;::Type Type;
----


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