Private class: do not use outside of bslstl_iomanip.h header. This private class provides a temporary storage that can be extracted to a stream and provides data to the standard implementation of the quoted function. Note that QuotedStringViewFormatter is designed to be returned as a temporary object (of opaque type) from 'bsl::quoted`, and passed to a streaming operator; it serves as a temporary proxy for a string value. Also note that this value is copied to bsl::string data member that is owned by the object of this class.

Synopsis

Declared in <bslstl_iomanip.h>

template<
    class t_CHAR_TYPE,
    class t_CHAR_TRAITS>
class IoManip_QuotedStringViewFormatter;

Member Functions

Name

Description

IoManip_QuotedStringViewFormatter [constructor]

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

data

Return a reference providing modifiable access to the character buffer of the underlying string.

delim

Return the delimiter character.

escape

Return the escape character.

Created with MrDocs