Catch::Detail Namespace Reference

Classes

class  Approx
 
class  IsStreamInsertable
 

Functions

std::string rawMemoryToString (const void *object, std::size_t size)
 
template<typename T >
std::string rawMemoryToString (const T &object)
 
template<typename E >
std::string convertUnknownEnumToString (E e)
 
template<typename T >
std::enable_if<!std::is_enum< T >::value &&!std::is_base_of< std::exception, T >::value, std::string >::type convertUnstreamable (T const &)
 
template<typename T >
std::enable_if<!std::is_enum< T >::value &&std::is_base_of< std::exception, T >::value, std::string >::type convertUnstreamable (T const &ex)
 
template<typename T >
std::enable_if< std::is_enum< T >::value, std::string >::type convertUnstreamable (T const &value)
 
template<typename T >
std::string stringify (const T &e)
 
template<typename InputIterator >
std::string rangeToString (InputIterator first, InputIterator last)
 

Variables

const std::string unprintableString
 

Function Documentation

◆ convertUnknownEnumToString()

template<typename E >
std::string Catch::Detail::convertUnknownEnumToString ( e)

◆ convertUnstreamable() [1/3]

template<typename T >
std::enable_if<!std::is_enum< T >::value &&!std::is_base_of< std::exception, T >::value, std::string >::type Catch::Detail::convertUnstreamable ( T const &  )

◆ convertUnstreamable() [2/3]

template<typename T >
std::enable_if<!std::is_enum< T >::value &&std::is_base_of< std::exception, T >::value, std::string >::type Catch::Detail::convertUnstreamable ( T const &  ex)

◆ convertUnstreamable() [3/3]

template<typename T >
std::enable_if< std::is_enum< T >::value, std::string >::type Catch::Detail::convertUnstreamable ( T const &  value)

◆ rangeToString()

template<typename InputIterator >
std::string Catch::Detail::rangeToString ( InputIterator  first,
InputIterator  last 
)

◆ rawMemoryToString() [1/2]

template<typename T >
std::string Catch::Detail::rawMemoryToString ( const T &  object)

◆ rawMemoryToString() [2/2]

std::string Catch::Detail::rawMemoryToString ( const void *  object,
std::size_t  size 
)

Referenced by rawMemoryToString().

◆ stringify()

Variable Documentation

◆ unprintableString

const std::string Catch::Detail::unprintableString
extern