I have a test where I get characters out of an std::istringstream
. I would like to get the section of the std::istringstream
that was not read during the test. The std::istringstream::str()
function returns the entire string, not just the unread section.
How do I get just this section of the string?