| 824 | template <typename T, typename = void> struct StringMaker { |
| 825 | template <typename Fake = T> |
| 826 | static typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type |
| 827 | convert(const Fake &value) { |
| 828 | ReusableStringStream rss; |
| 829 | // NB: call using the function-like syntax to avoid ambiguity with |
| 830 | // user-defined templated operator<< under clang. |
| 831 | rss.operator<<(value); |
| 832 | return rss.str(); |
| 833 | } |
| 834 | |
| 835 | template <typename Fake = T> |
| 836 | static typename std::enable_if<!::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type |
nothing calls this directly
no test coverage detected