[#BloombergLP-bdlar-AnyCastUtil-toAnyConstRef-084] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/AnyCastUtil.adoc[AnyCastUtil]::toAnyConstRef :relfileprefix: ../../../ :mrdocs: Cast the specified `ref` to `AnyConstRef`. == Synopsis Declared in `<bdlar_anycastutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlar/AnyConstRef.adoc[AnyConstRef] toAnyConstRef(xref:BloombergLP/bdlar/SequenceConstRef.adoc[SequenceConstRef] const& ref); ---- == Return Value an `AnyConstRef` for the sequence referred to by `ref` == Parameters [cols="1,4"] |=== | Name| Description | *ref* | sequence const reference to wrap as `AnyConstRef` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#