| 1277 | struct StringMaker { |
| 1278 | template <typename Fake = T> |
| 1279 | static |
| 1280 | typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type |
| 1281 | convert(const Fake& value) { |
| 1282 | ReusableStringStream rss; |
| 1283 | // NB: call using the function-like syntax to avoid ambiguity with |
| 1284 | // user-defined templated operator<< under clang. |
| 1285 | rss.operator<<(value); |
| 1286 | return rss.str(); |
| 1287 | } |
| 1288 | |
| 1289 | template <typename Fake = T> |
| 1290 | static |
nothing calls this directly
no test coverage detected