MCPcopy Create free account
hub / github.com/RenderKit/embree / describe

Method describe

tutorials/external/catch.hpp:2972–2986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2970 return false;
2971 }
2972 std::string describe() const override {
2973 std::string description;
2974 description.reserve( 4 + m_matchers.size()*32 );
2975 description += "( ";
2976 bool first = true;
2977 for( auto matcher : m_matchers ) {
2978 if( first )
2979 first = false;
2980 else
2981 description += " or ";
2982 description += matcher->toString();
2983 }
2984 description += " )";
2985 return description;
2986 }
2987
2988 MatchAnyOf<ArgT>& operator || ( MatcherBase<ArgT> const& other ) {
2989 m_matchers.push_back( &other );

Callers

nothing calls this directly

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected