CppUnit project page | FAQ |
#include <cppunit/Portability.h>
#include <cppunit/portability/Stream.h>
#include <string>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
StringHelper | |
Methods for converting values to strings. Replaces CPPUNIT_NS::StringTools::toString. | |
Functions | |
template<typename T > | |
std::enable_if<!std::is_enum< T >::value, std::string >::type | StringHelper::toString (const T &x) |
template<typename T > | |
std::enable_if< std::is_enum< T >::value, std::string >::type | StringHelper::toString (const T &x) |
template<> | |
std::string | StringHelper::toString (const signed char &x) |
template<> | |
std::string | StringHelper::toString (const unsigned char &x) |
Send comments to: CppUnit Developers |