CppUnit - The Unit Testing Library

CppUnit project page | FAQ

StringHelper Namespace Reference

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)

## Detailed Description

Methods for converting values to strings. Replaces CPPUNIT_NS::StringTools::toString.

## Function Documentation

## ◆ 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 | ) |

| Send comments to: CppUnit Developers