Temporary proxy for quoting a bsl::basic_string in stream I/O.
Synopsis
Declared in <bslstl_iomanip.h>
template<
class t_CHAR_TYPE,
class t_CHAR_TRAITS,
class t_ALLOC>
class IoManip_QuotedStringFormatter;
Description
Private class: do not use outside of bslstl_iomanip.h header. This private class provides a temporary storage that can be extracted to/from a stream and provides data to the standard implementation of the quoted function. Note that this class does not contain the storage itself, but only points to an external object. Note that QuotedStringViewFormatter is designed so that its objects are returned as temporary objects (of opaque type) from bsl::quoted, and then passed to a streaming operator; it serves as a temporary proxy for a string value.
Member Functions
Name |
Description |
|
Create an object pointing to the specified |
Return the delimiter character used by this formatter. |
|
Return the escape character. |
|
Return a pointer providing modifiable access to the underlying string. |
Non-Member Functions
Name |
Description |
Return a streamable object that quotes the specified |
Created with MrDocs