[#BloombergLP-bdlb-LiteralUtil-createQuotedEscapedCString-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/LiteralUtil.adoc[LiteralUtil]::createQuotedEscapedCString :relfileprefix: ../../../ :mrdocs: Load into the specified `result` string the `"` delimited and escaped C/C++ string literal equivalent representing the same value as that of the specified `input` string. When the C string literal equivalent is translated by a compiler having C‐compatible string literals, it will result in a string identical to the `input` string. Note that this code uses the (ASCII) '' character, rather than Unicode code points for escapes. == Synopses Declared in `<bdlb_literalutil.h>` Load into the specified `result` string the `"` delimited and escaped C/C++ string literal equivalent representing the same value as that of the specified `input` string. When the C string literal equivalent is translated by a compiler having C‐compatible string literals, it will result in a string identical to the `input` string. Note that this code uses the (ASCII) '' character, rather than Unicode code points for escapes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdlb/LiteralUtil/createQuotedEscapedCString-00.adoc[createQuotedEscapedCString]( xref:bsl/string.adoc[bsl::string]* result, std::string_view const& input); ---- [.small]#xref:BloombergLP/bdlb/LiteralUtil/createQuotedEscapedCString-00.adoc[_» more..._]# Load into the specified `result` string the `"` delimited and escaped C/C++ string literal equivalent representing the same value as that of the specified `input` string. When the C string literal equivalent is translated by a compiler having C‐compatible string literals, it will result in a string identical to the `input` string. Note that this code uses the (ASCII) '' character, rather than Unicode code points for escapes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdlb/LiteralUtil/createQuotedEscapedCString-03.adoc[createQuotedEscapedCString]( std::pmr::string* result, std::string_view const& input); ---- [.small]#xref:BloombergLP/bdlb/LiteralUtil/createQuotedEscapedCString-03.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdlb/LiteralUtil/createQuotedEscapedCString-06.adoc[createQuotedEscapedCString]( std::string* result, std::string_view const& input); ---- [.small]#xref:BloombergLP/bdlb/LiteralUtil/createQuotedEscapedCString-06.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#