Return a declval reference for unevaluated metaprogramming.
Synopsis
Declared in <bslmf_invokeresult.h>
template<class t_SOME_TYPE>
static
bsl::add_rvalue_reference<t_SOME_TYPE>::type
myDeclval();
Description
Return a reference to the specified t_SOME_TYPE template parameter type; if t_SOME_TYPE is an rvalue, then the returned reference is an rvalue reference. This function is declared but not defined and is intended to be called in an unevaluated context. Because there is no definition, the available constructors for t_SOME_TYPE are irrelevant.
Created with MrDocs