BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::ResultType< t_FUNC, t_FALLBACK, class > Struct Template Reference

#include <bslmf_resulttype.h>

Inheritance diagram for bslmf::ResultType< t_FUNC, t_FALLBACK, class >:
bslmf::ResultType_BdeIdiom< t_FUNC, t_FALLBACK, class > bslmf::ResultType_Fallback< t_FALLBACK >

Additional Inherited Members

- Public Types inherited from bslmf::ResultType_Fallback< t_FALLBACK >
typedef t_FALLBACK type
 

Detailed Description

template<class t_FUNC, class t_FALLBACK = bslmf::Nil, class = void>
struct bslmf::ResultType< t_FUNC, t_FALLBACK, class >

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.


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