std::basic_stringstream::str
From cppreference.com
< cpp | io | basic stringstream
std::basic_string<CharT,Traits,Allocator> str() const; |
(1) | |
void str(const std::basic_string<CharT,Traits,Allocator>& new_str); |
(2) | |
Manages the contents of the underlying string object.
1) Returns a copy of the underlying string.
2) Replaces the contents of the underlying string.
[edit] Parameters
new_str | - | new contents of the underlying string |
[edit] Return value
1) a copy of the underlying string object.
2) (none)
[edit] Example
This section is incomplete Reason: no example |