8#ifndef INCLUDED_BSLMF_SELECTTRAIT
9#define INCLUDED_BSLMF_SELECTTRAIT
401#include <bslscm_version.h>
445 template <
class t_TYPE>
446 struct Eval :
public t_TRAIT<t_TYPE>::type {
456template <
class t_TYPE,
457 template <
class>
class t_TRAIT1,
458 template <
class>
class t_TRAIT2,
459 template <
class>
class t_TRAIT3,
460 template <
class>
class t_TRAIT4,
461 template <
class>
class t_TRAIT5,
462 template <
class>
class t_TRAIT6,
463 template <
class>
class t_TRAIT7,
464 template <
class>
class t_TRAIT8,
465 template <
class>
class t_TRAIT9>
468 ORDINAL = (t_TRAIT1<t_TYPE>::value ? 1
469 : t_TRAIT2<t_TYPE>::value ? 2
470 : t_TRAIT3<t_TYPE>::value ? 3
471 : t_TRAIT4<t_TYPE>::value ? 4
472 : t_TRAIT5<t_TYPE>::value ? 5
473 : t_TRAIT6<t_TYPE>::value ? 6
474 : t_TRAIT7<t_TYPE>::value ? 7
475 : t_TRAIT8<t_TYPE>::value ? 8
476 : t_TRAIT9<t_TYPE>::value ? 9
503template <
class t_TYPE,
504 template <
class>
class t_TRAIT1,
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlbb_blob.h:576
Definition bslmf_integralconstant.h:244
Definition bslmf_selecttrait.h:446
Definition bslmf_selecttrait.h:438
SelectTraitCase Type
Definition bslmf_selecttrait.h:449
Metafunction that always returns false.
Definition bslmf_selecttrait.h:417
Definition bslmf_selecttrait.h:466
@ ORDINAL
Definition bslmf_selecttrait.h:468
Switch< ORDINAL, SelectTraitCase<>, SelectTraitCase< t_TRAIT1 >, SelectTraitCase< t_TRAIT2 >, SelectTraitCase< t_TRAIT3 >, SelectTraitCase< t_TRAIT4 >, SelectTraitCase< t_TRAIT5 >, SelectTraitCase< t_TRAIT6 >, SelectTraitCase< t_TRAIT7 >, SelectTraitCase< t_TRAIT8 >, SelectTraitCase< t_TRAIT9 > >::Type Type
Definition bslmf_selecttrait.h:490
Definition bslmf_selecttrait.h:522
@ ORDINAL
Definition bslmf_selecttrait.h:526
bsl::integral_constant< int, ORDINAL > OrdinalType
Definition bslmf_selecttrait.h:538
Definition bslmf_switch.h:537