MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / convert

Method convert

Bcore/src/main/cpp/Dobby/tests/catch.hpp:826–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824template <typename T, typename = void> struct StringMaker {
825 template <typename Fake = T>
826 static typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
827 convert(const Fake &value) {
828 ReusableStringStream rss;
829 // NB: call using the function-like syntax to avoid ambiguity with
830 // user-defined templated operator<< under clang.
831 rss.operator<<(value);
832 return rss.str();
833 }
834
835 template <typename Fake = T>
836 static typename std::enable_if<!::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type

Callers

nothing calls this directly

Calls 3

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

Tested by

no test coverage detected