BloombergLP::bdlat_EnumFunctions::bdlat_enumIsFallback

Return true if the specified value is equal to a fallback enumerator, and false otherwise.

Synopsis

Declared in <bdlat_enumfunctions.h>

template<class TYPE>
bool
bdlat_enumIsFallback(TYPE const& value);

Description

The behavior is undefined if this default implementation of bdlat_enumIsFallback 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::isFallback instead.

Return Value

true if value is equal to a fallback enumerator, and false otherwise

Parameters

NameDescription
valueenumeration value to compare with the fallback enumerator