#include #include template std::string ToString (const T& val) { std::stringstream strm; strm << val; return strm.str (); }