How can I concatenate two stringstreams?
#include #include #include #include #include <
Or
a << b.rdbuf();
provided that get pointer is on the beginning of the stream to avoid allocating yet another std::string for content.
std::string