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

Method convert

tutorials/external/catch.hpp:1289–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1287 struct StringMaker {
1288 template <typename Fake = T>
1289 static
1290 typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
1291 convert(const Fake& value) {
1292 ReusableStringStream rss;
1293 // NB: call using the function-like syntax to avoid ambiguity with
1294 // user-defined templated operator<< under clang.
1295 rss.operator<<(value);
1296 return rss.str();
1297 }
1298
1299 template <typename Fake = T>
1300 static

Callers

nothing calls this directly

Calls 3

convertUnstreamableFunction · 0.85
operator<<Method · 0.45
strMethod · 0.45

Tested by

no test coverage detected