std::istrstream::str

Returns the pointer to the beginning of the buffer, after freezing it. Effectively calls rdbuf()->str().

# Declarations

char* str();

(deprecated in C++98) (removed in C++26)

# Return value

Pointer to the beginning of the buffer in the associated std::strstreambuf or a null pointer if no buffer is available.

# Example

This section is incompleteReason: no example