BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsls::Util_Identity< TYPE > Struct Template Reference

#include <bsls_util.h>

Public Types

typedef TYPE type
 

Detailed Description

template<class TYPE>
struct bsls::Util_Identity< TYPE >

This class template provides an easy way to alias a function pointer type when used as the return type of a function. The syntax for a function returning a function pointer is otherwise quite obscure, and difficult to read. As we want to return function pointers taking parameters and returning a result specified by template parameters below, it is not possible to define a simple typedef to the function type outside the function template itself.

Member Typedef Documentation

◆ type

template<class TYPE >
typedef TYPE bsls::Util_Identity< TYPE >::type

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