Forward declaration

Synopsis

Declared in <bslmf_invokeresult.h>

template<
    class t_VOID_TYPE,
    class t_FN,
    class... t_ARGTYPES>
struct InvokeResult_FunctorImp;

Specializations

Name

Description

InvokeResult_FunctorImp<bslmf::VoidType<decltype(InvokeResult_ImpUtils::myDeclval<t_FN>()( InvokeResult_ImpUtils::myDeclval<t_ARGTYPES>()...))>::type, t_FN, t_ARGTYPES...>

Implementation of invoke_result<t_FN, t_ARGTYPES...>. This specialization is instantiated in C++11 and later when t_FN is neither a pointer‐to‐function, pointer‐to‐member‐function, nor pointer‐to‐member‐object type, and the INVOKE(fn, args...) expression is well‐formed given fn is an object of the specified t_FN type and args... are objects of the specified t_ARGTYPES... types. The INVOKE(fn, args...) expression in this case is fn(args...).

Created with MrDocs