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

Class And

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

Source from the content-addressed store, hash-verified

611
612 template <typename... Patterns>
613 class And
614 {
615 public:
616 constexpr explicit And(Patterns const &...patterns)
617 : mPatterns{patterns...} {}
618 constexpr auto const &patterns() const { return mPatterns; }
619
620 private:
621 std::tuple<InternalPatternT<Patterns>...> mPatterns;
622 };
623
624 template <typename... Patterns>
625 constexpr auto and_(Patterns const &...patterns)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected