[#BloombergLP-bdlar-ArrayRef-2constructor-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/ArrayRef.adoc[ArrayRef]::ArrayRef
:relfileprefix: ../../../
:mrdocs:

Create `ArrayRef` object that type erases the supplied `array` object&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;arrayref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ARRAY&gt;
explicit
ArrayRef(t&lowbar;ARRAY& array)
requires IsArray&lt;t&lowbar;ARRAY&gt;&colon;&colon;value;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *array*
| array object to wrap
|===


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