Template:cpp/io/basic stringstream/operator=

Move assigns the string stream to, effectively move-assigning both the std base class and the associated std.

Note that the base class move assignment swaps all stream state variables (except for ) between and.