[#BloombergLP-bdlb-LiteralUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::LiteralUtil
:relfileprefix: ../../
:mrdocs:

This `struct` provides a namespace for utility routines that operate on (programming language) literals&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;literalutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct LiteralUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/LiteralUtil/createQuotedEscapedCString-08.adoc[`createQuotedEscapedCString`] 
| Load into the specified `result` string the `&quot;` delimited and escaped C&sol;C&plus;&plus; string literal equivalent representing the same value as that of the specified `input` string&period; When the C string literal equivalent is translated by a compiler having C&hyphen;compatible string literals, it will result in a string identical to the `input` string&period; Note that this code uses the (ASCII) &apos;&apos; character, rather than Unicode code points for escapes&period;
|===



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