BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlat_EnumFunctions::HasFallbackEnumerator< TYPE > Struct Template Reference

#include <bdlat_enumfunctions.h>

Inheritance diagram for bdlat_EnumFunctions::HasFallbackEnumerator< TYPE >:
bsl::integral_constant< bool, bslalg::HasTrait< TYPE, bdlat_TypeTraitHasFallbackEnumerator >::value >

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< bool, bslalg::HasTrait< TYPE, bdlat_TypeTraitHasFallbackEnumerator >::value >
typedef bool value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< bool, bslalg::HasTrait< TYPE, bdlat_TypeTraitHasFallbackEnumerator >::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, bslalg::HasTrait< TYPE, bdlat_TypeTraitHasFallbackEnumerator >::value >
static const bool value
 

Detailed Description

template<class TYPE>
struct bdlat_EnumFunctions::HasFallbackEnumerator< TYPE >

This struct should be specialized for third-party types that need to declare the fact that they have a fallback enumerator value. Clients that specialize this struct must ensure that if HasFallbackEnumerator<TYPE>::value is true, then IsEnumeration<TYPE>::value is also true; otherwise, the behavior is undefined.


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