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

Method operator|

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

Source from the content-addressed store, hash-verified

358 }
359 template <typename Pred>
360 constexpr auto operator|(When<Pred> const &w)
361 {
362 return PatternHelper<PostCheck<Pattern, Pred>>(
363 PostCheck(mPattern, w.mPred));
364 }
365
366 private:
367 Pattern const mPattern;

Callers

nothing calls this directly

Calls 1

PostCheckClass · 0.70

Tested by

no test coverage detected