[#BloombergLP-bdlar-AnyConstRef-2constructor-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/AnyConstRef.adoc[AnyConstRef]::AnyConstRef :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlar_anyref.h>` Create an `AnyConstRef` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-06b.adoc[AnyConstRef](xref:BloombergLP/bdlar/AnyConstRefData.adoc[AnyConstRefData] const& data); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-06b.adoc[_» more..._]# Create an `AnyConstRef` object that wraps the same object as the specified `object`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-0c83.adoc[AnyConstRef](xref:BloombergLP/bdlar/AnyRef.adoc[AnyRef] const& object); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-0c83.adoc[_» more..._]# Create an `AnyConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-0c3.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/ArrayConstVtable.adoc[ArrayConstVtable] const* vtable); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-0c3.adoc[_» more..._]# Create an `AnyConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-0a.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/ChoiceConstVtable.adoc[ChoiceConstVtable] const* vtable); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-0a.adoc[_» more..._]# Create an `AnyConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-040.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/CustomizedTypeConstVtable.adoc[CustomizedTypeConstVtable] const* vtable); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-040.adoc[_» more..._]# Create an `AnyConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-06a.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/DynamicTypeConstVtable.adoc[DynamicTypeConstVtable] const* vtable); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-06a.adoc[_» more..._]# Create an `AnyConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-07.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/EnumConstVtable.adoc[EnumConstVtable] const* vtable); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-07.adoc[_» more..._]# Create an `AnyConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-04e.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/NullableValueConstVtable.adoc[NullableValueConstVtable] const* vtable); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-04e.adoc[_» more..._]# Create an `AnyConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-0c8c.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/SequenceConstVtable.adoc[SequenceConstVtable] const* vtable); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-0c8c.adoc[_» more..._]# Create an `AnyConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-09.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/SimpleTypeConstVtable.adoc[SimpleTypeConstVtable] const* vtable); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-09.adoc[_» more..._]# Create an `AnyConstRef` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlar/AnyConstRef/2constructor-00.adoc[AnyConstRef]( void const* objectAddress, xref:BloombergLP/bdlar/AnyConstVtable.adoc[AnyConstVtable] vtable, xref:BloombergLP/bdlat_TypeCategory/Value.adoc[bdlat_TypeCategory::Value] category); ---- [.small]#xref:BloombergLP/bdlar/AnyConstRef/2constructor-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#