BloombergLP::bslalg::TypeTraitBitwiseCopyable::NestedTraitDeclaration

This class template ties the bslalg::TypeTraitBitwiseCopyable trait tag to the bsl::is_trivially_copyable trait metafunction.

Synopsis

Declared in <bslalg_typetraitbitwisecopyable.h>

template<class TYPE>
struct NestedTraitDeclaration
    : bslmf::NestedTraitDeclaration<TYPE, IsBitwiseCopyable>

Base Classes

NameDescription
bslmf::NestedTraitDeclaration<TYPE, IsBitwiseCopyable>Class t_TYPE will be convertible to NestedTraitDeclaration<t_TYPE,t_TRAIT,true> if t_TRAIT is associated with t_TYPE using the BSLMF_NESTED_TRAIT_DECLARATION macro. Nested trait detection depends on t_COND being true. If t_COND is false, the nested trait detection will not see the conversion it is looking for and will not associate t_TRAIT with t_TYPE. This feature is used by BSLMF_NESTED_TRAIT_DECLARATION_IF to turn a trait on or off depending on a compile-time condition (usually another trait).

Type Aliases

NameDescription
Type This typedef is an alias to NestedTraitDeclaration.