CppUnit project page | FAQ |
Methods for converting values to strings. Replaces CPPUNIT_NS::StringTools::toString. More...
Functions | |
template<typename T > | |
std::enable_if<!std::is_enum< T >::value, std::string >::type | toString (const T &x) |
template<typename T > | |
std::enable_if< std::is_enum< T >::value, std::string >::type | toString (const T &x) |
template<> | |
std::string | toString (const signed char &x) |
template<> | |
std::string | toString (const unsigned char &x) |
Methods for converting values to strings. Replaces CPPUNIT_NS::StringTools::toString.
|
inline |
std::enable_if<!std::is_enum<T>::value, std::string>::type StringHelper::toString | ( | const T & | x | ) |
std::enable_if<std::is_enum<T>::value, std::string>::type StringHelper::toString | ( | const T & | x | ) |
|
inline |
Send comments to: CppUnit Developers |