Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::StringMaker< T, typename > Struct Template Reference

#include <catch_tostring.h>

Static Public Member Functions

template<typename Fake = T>
static std::enable_if<::Catch::Detail::IsStreamInsertable< Fake >::value, std::string >::type convert (const Fake &value)
 
template<typename Fake = T>
static std::enable_if<!::Catch::Detail::IsStreamInsertable< Fake >::value, std::string >::type convert (const Fake &value)
 
template<typename Fake = T>
static std::enable_if<::Catch::Detail::IsStreamInsertable< Fake >::value, std::string >::type convert (const Fake &value)
 
template<typename Fake = T>
static std::enable_if<!::Catch::Detail::IsStreamInsertable< Fake >::value, std::string >::type convert (const Fake &value)
 

Detailed Description

template<typename T, typename = void>
struct Catch::StringMaker< T, typename >

Definition at line 1289 of file catch.hpp.

Member Function Documentation

◆ convert() [1/4]

template<typename T , typename = void>
template<typename Fake = T>
static std::enable_if<::Catch::Detail::IsStreamInsertable< Fake >::value, std::string >::type Catch::StringMaker< T, typename >::convert ( const Fake & value)
inlinestatic

Definition at line 103 of file catch_tostring.h.

103 {
104 ReusableStringStream rss;
105 // NB: call using the function-like syntax to avoid ambiguity with
106 // user-defined templated operator<< under clang.
107 rss.operator<<(value);
108 return rss.str();
109 }
#define value
Definition pkcs11.h:157
Here is the call graph for this function:

◆ convert() [2/4]

template<typename T , typename = void>
template<typename Fake = T>
static std::enable_if<!::Catch::Detail::IsStreamInsertable< Fake >::value, std::string >::type Catch::StringMaker< T, typename >::convert ( const Fake & value)
inlinestatic

Definition at line 114 of file catch_tostring.h.

114 {
115#if !defined(CATCH_CONFIG_FALLBACK_STRINGIFIER)
117#else
119#endif
120 }
#define CATCH_CONFIG_FALLBACK_STRINGIFIER
std::enable_if<!std::is_enum< T >::value &&!std::is_base_of< std::exception, T >::value, std::string >::type convertUnstreamable(T const &)
Here is the call graph for this function:

◆ convert() [3/4]

template<typename T , typename = void>
template<typename Fake = T>
static std::enable_if<::Catch::Detail::IsStreamInsertable< Fake >::value, std::string >::type Catch::StringMaker< T, typename >::convert ( const Fake & value)
inlinestatic

Definition at line 1293 of file catch.hpp.

1293 {
1294 ReusableStringStream rss;
1295 // NB: call using the function-like syntax to avoid ambiguity with
1296 // user-defined templated operator<< under clang.
1297 rss.operator<<(value);
1298 return rss.str();
1299 }
Here is the call graph for this function:

◆ convert() [4/4]

template<typename T , typename = void>
template<typename Fake = T>
static std::enable_if<!::Catch::Detail::IsStreamInsertable< Fake >::value, std::string >::type Catch::StringMaker< T, typename >::convert ( const Fake & value)
inlinestatic

Definition at line 1304 of file catch.hpp.

1304 {
1305#if !defined(CATCH_CONFIG_FALLBACK_STRINGIFIER)
1307#else
1309#endif
1310 }
Here is the call graph for this function:

The documentation for this struct was generated from the following files: