Prefer specific [io]stringstream where possible

These better communicate intent and are slightly more efficient.
This commit is contained in:
Andrew Gaul
2019-01-29 10:44:33 -08:00
parent a442e843be
commit 07636c8a8d
5 changed files with 23 additions and 23 deletions

View File

@ -33,7 +33,7 @@
using namespace std;
template <class T> std::string str(T value) {
std::stringstream s;
std::ostringstream s;
s << value;
return s.str();
}