BloombergLP::bdlar::AnyRef::AnyRef

Create an AnyRef object.

Synopsis

Declared in <bdlar_anyref.h>

AnyRef(
    void* objectAddress,
    AnyVtable vtable,
    bdlat_TypeCategory::Value category);

Parameters

NameDescription
objectAddressaddress of the object to wrap
vtabletype-erased vtable for the object
categorytype category of the referred object