MCPcopy Create free account
hub / github.com/RenderKit/oidn / convert

Method convert

external/catch.hpp:1615–1623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

convertUnstreamableFunction · 0.85
operator<<Method · 0.80
strMethod · 0.80

Tested by

no test coverage detected