BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::IsTriviallyDefaultConstructible_DetectTrait< t_TYPE, t_K_INTRINSIC > Struct Template Reference

#include <bslmf_istriviallydefaultconstructible.h>

Inheritance diagram for bslmf::IsTriviallyDefaultConstructible_DetectTrait< t_TYPE, t_K_INTRINSIC >:
bsl::integral_constant< t_TYPE, t_VAL >

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< t_TYPE, t_VAL >
typedef t_TYPE value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< t_TYPE, t_VAL >
 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< t_TYPE, t_VAL >
static const t_TYPE value = t_VAL
 

Detailed Description

template<class t_TYPE, bool t_K_INTRINSIC = false>
struct bslmf::IsTriviallyDefaultConstructible_DetectTrait< t_TYPE, t_K_INTRINSIC >

This struct template implements a meta-function to determine whether the (non-cv-qualified) (template parameter) t_TYPE has been explicitly tagged with the trivially default constructible trait. If the flag t_K_INTRINSIC is true then the compiler has already determined that t_TYPE is trivially default constructible without user intervention, and the check for nested traits can be optimized away.


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