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);

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

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

See the overload above for contract.

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

Parameters

Name

Description

result

string to receive the quoted, escaped literal

input

string value to represent as a C/C++ literal

Created with MrDocs