MCPcopy Create free account
hub / github.com/catchorg/Catch2 / EvilCommaOperatorUsed

Class EvilCommaOperatorUsed

tests/SelfTest/UsageTests/Matchers.tests.cpp:1036–1040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034};
1035
1036struct EvilCommaOperatorUsed : std::exception {
1037 const char* what() const noexcept override {
1038 return "overloaded comma operator of matcher was used";
1039 }
1040};
1041
1042struct EvilMatcher : Catch::Matchers::MatcherGenericBase {
1043 std::string describe() const override { return "equals: 45"; }

Callers 1

operator,Method · 0.85

Calls

no outgoing calls

Tested by 1

operator,Method · 0.68