15.10.2 Move Semantics for String Streams
¨
Since C++11, string streams provide rvalue and move semantics. In fact, ostreams provide an output
operator, and istreams provide an input iterator that accepts an rvalue reference for the stream. The
effect is that you can use temporarily created stream objects. For example, you can insert into a
temporarily created string stream:16