MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / convert

Method convert

test/expected/catch.hpp:1597–1605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1595 struct StringMaker {
1596 template <typename Fake = T>
1597 static
1598 typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
1599 convert(const Fake& value) {
1600 ReusableStringStream rss;
1601 // NB: call using the function-like syntax to avoid ambiguity with
1602 // user-defined templated operator<< under clang.
1603 rss.operator<<(value);
1604 return rss.str();
1605 }
1606
1607 template <typename Fake = T>
1608 static

Callers

nothing calls this directly

Calls 3

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

Tested by

no test coverage detected