| 1615 | struct StringMaker { |
| 1616 | template <typename Fake = T> |
| 1617 | static |
| 1618 | typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type |
| 1619 | convert(const Fake& value) { |
| 1620 | ReusableStringStream rss; |
| 1621 | // NB: call using the function-like syntax to avoid ambiguity with |
| 1622 | // user-defined templated operator<< under clang. |
| 1623 | rss.operator<<(value); |
| 1624 | return rss.str(); |
| 1625 | } |
| 1626 | |
| 1627 | template <typename Fake = T> |
| 1628 | static |
nothing calls this directly
no test coverage detected