[#BloombergLP-bdlar-ArrayConstRef-2constructor-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/ArrayConstRef.adoc[ArrayConstRef]::ArrayConstRef
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create `ArrayConstRef` object that wraps the same object as the specified `object`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlar/ArrayConstRef/2constructor-087.adoc[ArrayConstRef](xref:BloombergLP/bdlar/ArrayRef.adoc[ArrayRef] const& object);
----

[.small]#xref:BloombergLP/bdlar/ArrayConstRef/2constructor-087.adoc[_» more&period;&period;&period;_]#

Create `ArrayConstRef` object&period; The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlar/ArrayConstRef/2constructor-0b.adoc[ArrayConstRef](
    void const* objectAddress,
    xref:BloombergLP/bdlar/ArrayConstVtable.adoc[ArrayConstVtable] const* vtable);
----

[.small]#xref:BloombergLP/bdlar/ArrayConstRef/2constructor-0b.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ARRAY&gt;
explicit
xref:BloombergLP/bdlar/ArrayConstRef/2constructor-08f.adoc[ArrayConstRef](
    t&lowbar;ARRAY const& array,
    void* = 0)
requires IsArray&lt;t&lowbar;ARRAY&gt;&colon;&colon;value;
----

[.small]#xref:BloombergLP/bdlar/ArrayConstRef/2constructor-08f.adoc[_» more&period;&period;&period;_]#


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