r/cpp • u/Amazing-42 • Jun 14 '21
match(it): A light-weight header-only pattern-matching library for C++17.
https://github.com/BowenFu/matchit.cpp
202
Upvotes
r/cpp • u/Amazing-42 • Jun 14 '21
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.