[#BloombergLP-bslstp-Identity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstp.adoc[bslstp]::Identity
:relfileprefix: ../../
:mrdocs:

An identity function&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;exfunctional&period;h&gt;`

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

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstp/Identity/argument_type.adoc[`argument&lowbar;type`] 
| This `typedef` is an alias to the (template parameter) `TYPE`&period;
| xref:BloombergLP/bslstp/Identity/result_type.adoc[`result&lowbar;type`] 
| This `typedef` is an alias to the (template parameter) `TYPE`&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstp/Identity/operator_call.adoc[`operator()`] 
| Return a const reference to the specified `x`&period;
| xref:BloombergLP/bslstp/Identity/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;Identity, is&lowbar;trivially&lowbar;copyable&gt;`] 
| Declare that `Identity` is trivially copyable&period;
|===



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