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

Method PostCheck

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

Source from the content-addressed store, hash-verified

1496 {
1497 public:
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected