Standard bidirectional stream backed by a bsl::basic_string character sequence.
Synopsis
Declared in <bslstl_stringstream.h>
template<
class CHAR_TYPE,
class CHAR_TRAITS = char_traits<CHAR_TYPE>,
class ALLOCATOR = allocator<CHAR_TYPE>>
class basic_stringstream
: public std::basic_iostream<CHAR_TYPE, CHAR_TRAITS>
Description
This class implements a standard stream providing operations using bsl::basic_string for modifying or accessing the sequence of characters read from, or written to, the stream.
Base Classes
Name |
Description |
|
Template class basic_iostream |
Type Aliases
Name |
Description |
This |
|
Alias for the character type of this stream. |
|
This |
|
This |
|
This |
|
This |
Member Functions
Name |
Description |
|
Constructors |
Move‐assign from the specified |
|
Return the stream buffer used by this object. |
|
|
|
Efficiently exchange the value of this object with |
|
Return a view of the internally buffered sequence of characters maintained by this stream object. |
Using Declarations
Name |
Description |
Assign from a base |
|
Exchange this stream with another |
Protected Member Functions
Name |