Methods for converting values to strings. Replaces CPPUNIT_NS::StringTools::toString.
More...
|
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) |
|
Methods for converting values to strings. Replaces CPPUNIT_NS::StringTools::toString.
◆ toString() [1/2]
template<typename T >
std::enable_if<!std::is_enum<T>::value, std::string>::type StringHelper::toString |
( |
const T & |
x | ) |
|
◆ toString() [2/2]
template<typename T >
std::enable_if<std::is_enum<T>::value, std::string>::type StringHelper::toString |
( |
const T & |
x | ) |
|