We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Because stringstreams are quite smart objects - when you extract from a ss to an int, it will remove only as much of the stream as can be validly converted to an int.
StringStream
You are viewing a single comment's thread. Return to all comments →
Because stringstreams are quite smart objects - when you extract from a ss to an int, it will remove only as much of the stream as can be validly converted to an int.