I\'m trying to read an entire stream (multiple lines) into a string.
I\'m using this code, and it works, but it\'s offending my sense of style... Surely there\'s an
Perhaps this 1 line C++11 solution:
std::vector s{std::istreambuf_iterator{in},{}};