BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::SelectTrait< t_TYPE, t_TRAIT1, t_TRAIT2, t_TRAIT3, t_TRAIT4, t_TRAIT5, t_TRAIT6, t_TRAIT7, t_TRAIT8, t_TRAIT9 > Struct Template Reference

#include <bslmf_selecttrait.h>

Inheritance diagram for bslmf::SelectTrait< t_TYPE, t_TRAIT1, t_TRAIT2, t_TRAIT3, t_TRAIT4, t_TRAIT5, t_TRAIT6, t_TRAIT7, t_TRAIT8, t_TRAIT9 >:
bslmf::Nil

Public Types

enum  { ORDINAL }
 
typedef bsl::integral_constant< int, ORDINALOrdinalType
 

Detailed Description

template<class t_TYPE, template< class > class t_TRAIT1, template< class > class t_TRAIT2 = SelectTrait_False, template< class > class t_TRAIT3 = SelectTrait_False, template< class > class t_TRAIT4 = SelectTrait_False, template< class > class t_TRAIT5 = SelectTrait_False, template< class > class t_TRAIT6 = SelectTrait_False, template< class > class t_TRAIT7 = SelectTrait_False, template< class > class t_TRAIT8 = SelectTrait_False, template< class > class t_TRAIT9 = SelectTrait_False>
struct bslmf::SelectTrait< t_TYPE, t_TRAIT1, t_TRAIT2, t_TRAIT3, t_TRAIT4, t_TRAIT5, t_TRAIT6, t_TRAIT7, t_TRAIT8, t_TRAIT9 >

Instantiate each specified (template parameter) t_TRAIT1 to t_TRAIT9 metafunction using the specified (template parameter) t_TYPE. Inherit from SelectTraitCase<TRAITx>, where x is 1 if t_TRAIT1<t_TYPE>::value is true, 2 if t_TRAIT2<t_TYPE>::value is true, etc.. If none of the traits evaluates to true, then inherit from SelectTraitCase<>, which means that none of the traits match.

Member Typedef Documentation

◆ OrdinalType

template<class t_TYPE , template< class > class t_TRAIT1, template< class > class t_TRAIT2 = SelectTrait_False, template< class > class t_TRAIT3 = SelectTrait_False, template< class > class t_TRAIT4 = SelectTrait_False, template< class > class t_TRAIT5 = SelectTrait_False, template< class > class t_TRAIT6 = SelectTrait_False, template< class > class t_TRAIT7 = SelectTrait_False, template< class > class t_TRAIT8 = SelectTrait_False, template< class > class t_TRAIT9 = SelectTrait_False>
typedef bsl::integral_constant<int, ORDINAL> bslmf::SelectTrait< t_TYPE, t_TRAIT1, t_TRAIT2, t_TRAIT3, t_TRAIT4, t_TRAIT5, t_TRAIT6, t_TRAIT7, t_TRAIT8, t_TRAIT9 >::OrdinalType

Member Enumeration Documentation

◆ anonymous enum

template<class t_TYPE , template< class > class t_TRAIT1, template< class > class t_TRAIT2 = SelectTrait_False, template< class > class t_TRAIT3 = SelectTrait_False, template< class > class t_TRAIT4 = SelectTrait_False, template< class > class t_TRAIT5 = SelectTrait_False, template< class > class t_TRAIT6 = SelectTrait_False, template< class > class t_TRAIT7 = SelectTrait_False, template< class > class t_TRAIT8 = SelectTrait_False, template< class > class t_TRAIT9 = SelectTrait_False>
anonymous enum
Enumerator
ORDINAL 

The documentation for this struct was generated from the following file: