MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / convert

Method convert

tests/catch.hpp:1279–1287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

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

Tested by

no test coverage detected