Create an object pointing to the specified str and having the optionally specified delim and escape characters.

Synopsis

Declared in <bslstl_iomanip.h>

explicit
IoManip_QuotedStringFormatter(
    bsl::basic_string<t_CHAR_TYPE, t_CHAR_TRAITS, t_ALLOC>* str,
    t_CHAR_TYPE delim = t_CHAR_TYPE('"'),
    t_CHAR_TYPE escape = t_CHAR_TYPE('\\'));

Parameters

Name

Description

str

string to be quoted in stream operations

delim

delimiter character surrounding the quoted string

escape

escape character used within the quoted string

Created with MrDocs