MCPcopy Create free account
hub / github.com/apache/trafficserver / convert

Method convert

lib/catch2/catch.hpp:1617–1625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

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

Tested by

no test coverage detected