[#BloombergLP-bslmf-AddReference]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::AddReference
:relfileprefix: ../../
:mrdocs:

Meta&hyphen;function for forming a reference to a type&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;addreference&period;h&gt;`

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

== Description

This meta&hyphen;function class defines a typedef, `Type`, that is an alias for a reference to the parameterized `t&lowbar;TYPE`&period; References to cv&hyphen;qualified `void` will produce the original `void` type and not a reference (see specializations below)&period; References&hyphen;to&hyphen;references &quot;collapse&quot; to produce an alias to the original reference type, which is the revised rule according to the C&plus;&plus;11 standard&period; Note that there is no requirement that the parameterized `t&lowbar;TYPE` be a complete type&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/AddReference/Type.adoc[`Type`] 
| `Type` is an alias for an lvalue reference to `t&lowbar;TYPE`&period;
|===



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