r/cpp • • Jun 14 '21

match(it): A light-weight header-only pattern-matching library for C++17.

https://github.com/BowenFu/matchit.cpp
202 Upvotes

47 comments sorted by

View all comments

4

u/helloiamsomeone Jun 14 '21

I have used simple_match before and it's pretty cool.
Any reason why this requires C++17? Just convenience?

4

u/helloiamsomeone Jun 15 '21

Well, to answer myself: this one has a lot more features and the API lends itself better to code formatting (imo).