API
Catch::Detail Namespace Reference

Classes

struct  EnumInfo
 
class  IsStreamInsertable
 
class  Approx
 

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 , typename Sentinel = InputIterator>
std::string rangeToString (InputIterator first, Sentinel last)
 

Variables

const std::string unprintableString
 

Function Documentation

◆ convertUnknownEnumToString()

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

Definition at line 1649 of file catch.hpp.

Referenced by convertUnstreamable().

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

Definition at line 1582 of file catch.hpp.

Referenced by Catch::StringMaker< T, typename >::convert().

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

Definition at line 1588 of file catch.hpp.

◆ convertUnstreamable() [3/3]

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

Definition at line 1595 of file catch.hpp.

◆ rangeToString()

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

Definition at line 1829 of file catch.hpp.

◆ 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