Revert "2x faster strings::to_string()"

This reverts commit 557640340785d2d61b82a83c685c6719be221df9.
This commit is contained in:
Alex Zolotarev 2015-03-25 16:35:25 +03:00
parent c392d3b589
commit f56792ef81

View file

@ -191,9 +191,11 @@ inline string to_string(char const * s)
return s;
}
template <typename T> inline string to_string(T t)
template <typename T> string to_string(T t)
{
return std::to_string(t);
ostringstream ss;
ss << t;
return ss.str();
}
namespace impl