Metafunction to detect the BDE ResultType idiom as part of the implementation of bslmf::ResultType. This struct is instantiated when t_FUNC::result_type doesn't exist. This primary template is matched when t_FUNC::ResultType also does not exist. The t_FALLBACK type, if any, is produced.
Synopsis
Declared in <bslmf_resulttype.h>
template<
class t_FUNC,
class t_FALLBACK,
class = void>
struct ResultType_BdeIdiom
: ResultType_Fallback<t_FALLBACK>
Base Classes
Name |
Description |
Metafunction that defines |
Type Aliases
Name |
Description |
The fallback type, unless |
Specializations
Name |
Description |
Metafunction to detect the BDE |
Derived Classes
Name |
Description |
Metafunction to return the result type of the specified functor type |
Created with MrDocs