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

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
AnyConstRef(
    void const* objectAddress,
    xref:BloombergLP/bdlar/CustomizedTypeConstVtable.adoc[CustomizedTypeConstVtable] const* vtable);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *objectAddress*
| address of the object to wrap
| *vtable*
| pointer to the const customized&hyphen;type vtable
|===


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