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.
Declared in <bsls_util.h>
template<class TYPE>
struct Util_Identity;
| Name | Description |
|---|---|
type | Alias of the template parameter TYPE. |