Quick Links:

bal | bbl | bdl | bsl

Public Types

bsls::Util_Identity< TYPE > Struct Template Reference

#include <bsls_util.h>

List of all members.

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.

See Component bsls_util


Member Typedef Documentation

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

alias of the template parameter TYPE.


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