SourcePro® API Reference Guide

 
List of all members | Public Types
RWTResultOf< T > Struct Template Reference

Determines the return type of T. More...

#include <rw/tools/traits/RWTResultOf.h>

Public Types

typedef unspecified_type type
 

Detailed Description

template<typename T>
struct RWTResultOf< T >

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):

Note
N is allowed to be between 0 and 10, inclusive.

Member Typedef Documentation

template<typename T >
typedef unspecified_type RWTResultOf< T >::type

The return type of T.

Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.