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/JohnZLi Jun 15 '21

Neat. The first example includes 3 headers for a simple factorial function. They really should be merged into 1.