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

Method PostCheck

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

Source from the content-addressed store, hash-verified

1803 {
1804 public:
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected