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

Method check

include/matchit.h:1807–1807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1805 constexpr explicit PostCheck(Pattern const &pattern, Pred const &pred)
1806 : mPattern{pattern}, mPred{pred} {}
1807 constexpr bool check() const { return mPred(); }
1808 constexpr auto const &pattern() const { return mPattern; }
1809
1810 private:

Callers 1

matchPatternImplMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected