[#BloombergLP-bsls-Util_Identity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::Util&lowbar;Identity
:relfileprefix: ../../
:mrdocs:

Identity metafunction that aliases its template parameter as `type`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
struct Util&lowbar;Identity;
----

== Description

This class template provides an easy way to alias a function pointer type when used as the return type of a function&period; The syntax for a function returning a function pointer is otherwise quite obscure, and difficult to read&period; 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&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/Util_Identity/type.adoc[`type`] 
| Alias of the template parameter `TYPE`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
