Quick Links:

bal | bbl | bdl | bsl

bslmf::ResultType< t_FUNC, t_FALLBACK, class > Struct Template Reference

#include <bslmf_resulttype.h>


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.

See Component bslmf_resulttype


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