Create an object having the value of the specified strView and the optionally specified delim and escape characters.

Synopsis

Declared in <bslstl_iomanip.h>

explicit
IoManip_QuotedStringViewFormatter(
    bsl::basic_string_view<t_CHAR_TYPE, t_CHAR_TRAITS> const& strView,
    t_CHAR_TYPE delim = t_CHAR_TYPE('"'),
    t_CHAR_TYPE escape = t_CHAR_TYPE('\\'));

Parameters

Name

Description

strView

string view whose contents are copied for quoting

delim

delimiter character surrounding the quoted string

escape

escape character used within the quoted string

Created with MrDocs