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

Create an `AnyConstRef` object&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/AnyConstVtable.adoc[AnyConstVtable] vtable,
    xref:BloombergLP/bdlat_TypeCategory/Value.adoc[bdlat&lowbar;TypeCategory::Value] category);
----

== Parameters

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


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