[#BloombergLP-bdlar-AnyCastUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::AnyCastUtil :relfileprefix: ../../ :mrdocs: This `struct` provides a namespace for functions that convert between `AnyRef`/`AnyConstRef` and the concrete type‐category reference types. == Synopsis Declared in `<bdlar_anycastutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct AnyCastUtil; ---- == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlar/AnyCastUtil/toAnyConstRef-03.adoc[`toAnyConstRef`] | Cast the specified `ref` to `AnyConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toAnyRef-09.adoc[`toAnyRef`] | `toAnyRef` overloads | xref:BloombergLP/bdlar/AnyCastUtil/toArrayConstRef.adoc[`toArrayConstRef`] | Cast the specified `any` to `ArrayConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toArrayRef.adoc[`toArrayRef`] | Cast the specified `any` to `ArrayRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toChoiceConstRef.adoc[`toChoiceConstRef`] | Cast the specified `any` to `ChoiceConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toChoiceRef.adoc[`toChoiceRef`] | Cast the specified `any` to `ChoiceRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toCustomizedTypeConstRef.adoc[`toCustomizedTypeConstRef`] | Cast the specified `any` to `CustomizedTypeConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toCustomizedTypeRef.adoc[`toCustomizedTypeRef`] | Cast the specified `any` to `CustomizedTypeRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toDynamicTypeConstRef.adoc[`toDynamicTypeConstRef`] | Cast the specified `any` to `DynamicTypeConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toDynamicTypeRef.adoc[`toDynamicTypeRef`] | Cast the specified `any` to `DynamicTypeRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toEnumConstRef.adoc[`toEnumConstRef`] | Cast the specified `any` to `EnumConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toEnumRef.adoc[`toEnumRef`] | Cast the specified `any` to `EnumRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toNullableValueConstRef.adoc[`toNullableValueConstRef`] | Cast the specified `any` to `NullableValueConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toNullableValueRef.adoc[`toNullableValueRef`] | Cast the specified `any` to `NullableValueRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toSequenceConstRef.adoc[`toSequenceConstRef`] | Cast the specified `any` to `SequenceConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toSequenceRef.adoc[`toSequenceRef`] | Cast the specified `any` to `SequenceRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toSimpleTypeConstRef.adoc[`toSimpleTypeConstRef`] | Cast the specified `any` to `SimpleTypeConstRef`. | xref:BloombergLP/bdlar/AnyCastUtil/toSimpleTypeRef.adoc[`toSimpleTypeRef`] | Cast the specified `any` to `SimpleTypeRef`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#