std::istrstream::str
From cppreference.com
 
 
 < cpp | io | istrstream 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Input/output library 
 
 
 
 
 
 
 
 
 
 
 
 
 Print functions (C++23)
 Buffers
(C++23)
(C++98/26*)
(C++20)
 Streams
 Abstractions
 File I/O
 String I/O
 Array I/O
(C++23)
(C++23)
(C++23)
(C++98/26*)
(C++98/26*)
(C++98/26*)
 Synchronized Output
(C++20)
 Types
 Error category interface
(C++11)
(C++11)
char* str();
 
 (deprecated in C++98) (removed in C++26)
Returns the pointer to the beginning of the buffer, after freezing it. Effectively calls rdbuf()->str().
[edit] Parameters
(none)
[edit] Return value
Pointer to the beginning of the buffer in the associated std::strstreambuf or a null pointer if no buffer is available.
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example