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

Method operator()

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

Source from the content-addressed store, hash-verified

47 constexpr explicit MatchHelper(V &&value) : mValue{std::forward<V>(value)} {}
48 template <typename... PatternPair>
49 constexpr auto operator()(PatternPair const &...patterns)
50 {
51 return matchPatterns(std::forward<ValueRefT>(mValue), patterns...);
52 }
53 };
54
55 template <typename Value>

Callers

nothing calls this directly

Calls 1

matchPatternsFunction · 0.70

Tested by

no test coverage detected