--- trunk/src/utils/StringUtils.hpp 2013/06/16 15:15:42 1879 +++ trunk/src/utils/StringUtils.hpp 2014/12/11 21:18:03 2048 @@ -146,6 +146,13 @@ namespace OpenMD { return ret; } + template + std::string to_string(T value) { + std::ostringstream os ; + os << value ; + return os.str() ; + } + bool isInteger(const std::string& str); std::string OpenMD_itoa(int value, unsigned int base = 10);