[#BloombergLP-bdlar-AnyCastUtil-toCustomizedTypeConstRef] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/AnyCastUtil.adoc[AnyCastUtil]::toCustomizedTypeConstRef :relfileprefix: ../../../ :mrdocs: Cast the specified `any` to `CustomizedTypeConstRef`. The behaviour is undefined unless `any.typeCategory() == bdlat_TypeCategory::e_CUSTOMIZED_TYPE_CATEGORY`. == Synopsis Declared in `<bdlar_anycastutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlar/CustomizedTypeConstRef.adoc[CustomizedTypeConstRef] toCustomizedTypeConstRef(xref:BloombergLP/bdlar/AnyConstRef.adoc[AnyConstRef] const& any); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#