BloombergLP::bdlb::LiteralUtil::createQuotedEscapedCString

createQuotedEscapedCString overloads

Synopses

Declared in <bdlb_literalutil.h>

Load into result a quoted, escaped C/C++ string literal of input.

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

Load into result a quoted, escaped C/C++ string literal of input.

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

See the overload above for contract.

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

Parameters

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