Files
triton/include/atidlas/tools/to_string.hpp
2015-01-19 21:29:47 -05:00

24 lines
282 B
C++

#ifndef ATIDLAS_TOOLS_TO_STRING_HPP
#define ATIDLAS_TOOLS_TO_STRING_HPP
#include <string>
#include <sstream>
namespace atidlas
{
namespace tools
{
template<class T>
inline std::string to_string ( T const t )
{
std::stringstream ss;
ss << t;
return ss.str();
}
}
}
#endif