BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslalg::HasTrait< TYPE, TRAIT > Struct Template Reference

#include <bslalg_hastrait.h>

Inheritance diagram for bslalg::HasTrait< TYPE, TRAIT >:
bsl::integral_constant< bool, TRAIT::template Metafunction< bsl::remove_cv< TYPE >::type >::value >

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< bool, TRAIT::template Metafunction< bsl::remove_cv< TYPE >::type >::value >
typedef bool value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< bool, TRAIT::template Metafunction< bsl::remove_cv< TYPE >::type >::value >
 integral_constant ()=default
 
 integral_constant (const integral_constant &)=default
 
integral_constant operator= (const integral_constant &)=default
 
 ~integral_constant ()=default
 
BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT
 Return t_VAL.
 
- Static Public Attributes inherited from bsl::integral_constant< bool, TRAIT::template Metafunction< bsl::remove_cv< TYPE >::type >::value >
static const bool value
 

Detailed Description

template<class TYPE, class TRAIT>
struct bslalg::HasTrait< TYPE, TRAIT >

This meta-function evaluates to bsl::true_type if the (template parameter) TYPE has the (template parameter) TRAIT, and to bsl::false_type otherwise.


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