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

Create an `AnyRef` 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"]
----
AnyRef(
    void* objectAddress,
    xref:BloombergLP/bdlar/CustomizedTypeVtable.adoc[CustomizedTypeVtable] const* vtable);
----


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