BloombergLP::bdlar::AnyCastUtil::toAnyConstRef

Cast the specified ref to AnyConstRef.

Synopses

Declared in <bdlar_anycastutil.h>

Cast the specified ref to AnyConstRef.

static
AnyConstRef
toAnyConstRef(ArrayConstRef const& ref);
» more...

Cast the specified ref to AnyConstRef.

static
AnyConstRef
toAnyConstRef(ChoiceConstRef const& ref);
» more...

Cast the specified ref to AnyConstRef.

static
AnyConstRef
toAnyConstRef(CustomizedTypeConstRef const& ref);
» more...

Cast the specified ref to AnyConstRef.

static
AnyConstRef
toAnyConstRef(DynamicTypeConstRef const& ref);
» more...

Cast the specified ref to AnyConstRef.

static
AnyConstRef
toAnyConstRef(EnumConstRef const& ref);
» more...

Cast the specified ref to AnyConstRef.

static
AnyConstRef
toAnyConstRef(NullableValueConstRef const& ref);
» more...

Cast the specified ref to AnyConstRef.

static
AnyConstRef
toAnyConstRef(SequenceConstRef const& ref);
» more...

Cast the specified ref to AnyConstRef.

static
AnyConstRef
toAnyConstRef(SimpleTypeConstRef const& ref);
» more...

Return Value

  • an AnyConstRef for the array referred to by ref
  • an AnyConstRef for the choice referred to by ref
  • an AnyConstRef for the customized type referred to by ref
  • an AnyConstRef for the dynamic type referred to by ref
  • an AnyConstRef for the enumeration referred to by ref
  • an AnyConstRef for the nullable value referred to by ref
  • an AnyConstRef for the sequence referred to by ref
  • an AnyConstRef for the simple type referred to by ref

Parameters

NameDescription
refarray const reference to wrap as AnyConstRef