MCPcopy Create free account
hub / github.com/Profactor/cv-plot / convert

Method convert

CvPlot/ext/catch2/inc/catch.hpp:1594–1602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

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

Tested by

no test coverage detected