Quick Links: |
#include <bslmf_detectnestedtrait.h>
Public Types | |
typedef bsl::integral_constant < bool, k_VALUE > | type |
This template specialization detects whether the specified t_TRAIT
parameter is associated with the specified t_TYPE
parameter, which is constrained to be a class type, using the nested type trait mechanism. The nested type
is an alias for bsl::true_type
if and only if t_TYPE
is associated with t_TRAIT
using the BSLMF_NESTED_TRAIT_DECLARATION
macro, and for bsl::false_type
otherwise. Note that nested trait associations are not inherited by derived classes, which must be associated in their own right.
See Component bslmf_detectnestedtrait
typedef bsl::integral_constant<bool, k_VALUE> bslmf::DetectNestedTrait_Imp< t_TYPE, t_TRAIT, BSLMF_VOIDTYPE(int t_TYPE::*)>::type |