[#BloombergLP-bdlar-AnyCastUtil-toSimpleTypeConstRef]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/AnyCastUtil.adoc[AnyCastUtil]::toSimpleTypeConstRef
:relfileprefix: ../../../
:mrdocs:

Cast the specified `any` to `SimpleTypeConstRef`&period; The behaviour is undefined unless `any&period;typeCategory() &equals;&equals; bdlat&lowbar;TypeCategory&colon;&colon;e&lowbar;SIMPLE&lowbar;CATEGORY`&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;anycastutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlar/SimpleTypeConstRef.adoc[SimpleTypeConstRef]
toSimpleTypeConstRef(xref:BloombergLP/bdlar/AnyConstRef.adoc[AnyConstRef] const& any);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
