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

Class Ds

include/matchit.h:1264–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1262
1263 template <typename... Patterns>
1264 class Ds
1265 {
1266 public:
1267 constexpr explicit Ds(Patterns const &...patterns) : mPatterns{patterns...} {}
1268 constexpr auto const &patterns() const { return mPatterns; }
1269
1270 using Type = std::tuple<InternalPatternT<Patterns>...>;
1271
1272 private:
1273 Type mPatterns;
1274 };
1275
1276 template <typename... Patterns>
1277 constexpr auto ds(Patterns const &...patterns) -> Ds<Patterns...>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected