[#BloombergLP-bslstl-IsConvertibleToCString-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/IsConvertibleToCString-04.adoc[IsConvertibleToCString]&lt;t&lowbar;CHAR&lowbar;TYPE, t&lowbar;CHAR&lowbar;TYPE const(&)[]&gt;
:relfileprefix: ../../
:mrdocs:

Treat unbounded array references as convertible to `const t&lowbar;CHAR&lowbar;TYPE &ast;`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;isconvertibletocstring&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;CHAR&lowbar;TYPE&gt;
struct xref:BloombergLP/bslstl/IsConvertibleToCString-04.adoc[IsConvertibleToCString]&lt;t&lowbar;CHAR&lowbar;TYPE, t&lowbar;CHAR&lowbar;TYPE const(&)[]&gt;
    : xref:bsl/true_type.adoc[bsl::true&lowbar;type]
----

== Description

This partial specialization of `IsConvertibleToCString` is instantiated when `const t&lowbar;CHAR&lowbar;TYPE (&amp;)&lsqb;&rsqb;` (an unbounded array reference) is tested for convertibility to `const t&lowbar;CHAR&lowbar;TYPE &ast;`&period; This handles edge cases with certain compilers where `bsl&colon;&colon;is&lowbar;convertible` may not correctly handle incomplete array types&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:bsl/true_type.adoc[bsl::true&lowbar;type]`
| Metafunction representing the boolean constant `true`&period;
|===


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