BloombergLP::bdlb::LiteralUtil::createQuotedEscapedCString

See the overload above for contract.

Synopsis

Declared in <bdlb_literalutil.h>

static
void
createQuotedEscapedCString(
    std::string* result,
    std::string_view const& input);

Parameters

NameDescription
resultstring to receive the quoted, escaped literal
inputstring value to represent as a C/C++ literal