Files
triton/atidlas/tools/to_string.hpp
Philippe Tillet 609c7af6ce Initial commit
2014-08-30 18:02:17 -04:00

23 lines
263 B
C++

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