![]() SourcePro C++ 12.5 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Determines the return type of T.
More...
#include <rw/tools/traits/RWTResultOf.h>
Public Types | |
| typedef unspecified_type | type |
For T of the form F(A1, A2, ..., AN), sets the type member typedef to the return type of the expression f(a1, a2, ..., aN), where f is an instance of F, and a1, a2, ..., aN are instances of A1, A2, ..., AN, respectively.
The return type is determined by one of the following methods (in order):
F is a function pointer or function reference, type is the return type of F.F is a member function pointer, type is the return type of F.decltype keyword, type is the result of decltype(f(a1, a2, ..., aN)).std::result_of type trait, type is an alias for std::result_of<T>::type.std::tr1::result_of type trait, type is an alias for std::tr1::result_of<T>::type.F is a class type with a member type F::result_type, type is an alias for F::result_type;F is a class type without a member type F::result_type, or if F::result_type is not a type:N = 0 (no arguments) type is void.N > 0 type is F::template result<F(A1, A2, ..., AN)>::typeN is allowed to be between 0 and 10, inclusive. | typedef unspecified_type RWTResultOf< T >::type |
The return type of T.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.