Namespaces
Variants
Views
Actions

std::istrstream::str

From cppreference.com
< cpp‎ | io‎ | istrstream
Revision as of 07:42, 1 August 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
char* str();

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::strsteambuf or NULL if no buffer is available.

[edit] Example