Code tagged with convert

Convert to string

Posted by Jorden Mauro over 2 years ago
In case you don't have boost and need to convert a POD to string:
template inline std::string makeString(const T& val)
{
   std::ostringstream os;
   os<
Language C++ / Tagged with string, convert