Metafunction to return the result type of the specified functor type t_FUNC. The nested type is identical to t_FUNC::result_type if such a type exists; otherwise, it is identical to t_FUNC::ResultType if that type exists; otherwise, it is identical to the t_FALLBACK template parameter if it was specified; otherwise, it is undefined.
Synopsis
Declared in <bslmf_resulttype.h>
template<
class t_FUNC,
class t_FALLBACK = bslmf::Nil,
class = void>
struct ResultType
: ResultType_BdeIdiom<t_FUNC, t_FALLBACK>
Base Classes
Name |
Description |
|
Metafunction to detect the BDE |
Type Aliases
Name |
Description |
The fallback type, unless |
Specializations
Name |
Description |
|
Specialization of |
Created with MrDocs