20 template <
class T,
class=
void>
29 META::is_same<T, char>()
30 || META::is_same<T, const char*>()
31 || META::is_same<T, std::string>()
34 return std::string{t};
44 META::defines_std_to_string<T>()
47 return std::to_string(t);
60 "ToString<T> has not been defined" Global namespace of the SCL.
std::string toString(const T &obj)
Free function that allows string conversion.