MCPcopy Create free account
hub / github.com/BowenFu/matchit.cpp / check

Method check

develop/matchit/patterns.h:1500–1500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1498 constexpr explicit PostCheck(Pattern const &pattern, Pred const &pred)
1499 : mPattern{pattern}, mPred{pred} {}
1500 constexpr bool check() const { return mPred(); }
1501 constexpr auto const &pattern() const { return mPattern; }
1502
1503 private:

Callers 1

matchPatternImplMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected