Return true if the specified value supports a fallback enumerator, and false otherwise.
Synopsis
Declared in <bdlat_enumfunctions.h>
template<class TYPE>
bool
bdlat_enumHasFallback(TYPE const& value);
Description
The behavior is undefined if this default implementation of bdlat_enumHasFallback is instantiated with a template parameter TYPE such that bdlat_HasFallbackEnumerator<TYPE> is false. Note that this is a customization point function and should not be called directly by user code. Use bdlat_EnumFunctions::hasFallback instead.
Return Value
true if value supports a fallback enumerator, and false otherwise
Parameters
Name |
Description |
value |
enumeration value whose type is queried for fallback support |
Created with MrDocs