mpark/patterns
View on GitHub ↗ ★ 687 C++
This is an experimental library that has evolved to P2688
4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2017-06-08 · latest 2019-11-08
20082026
-
…Which isn't a true sum type because it doesn't nest properly. > Or you can use a library: https://github.com/mpark/patterns Interesting; proper pattern-matching is nice, but the lack of type safety is still a major issue.
comment by lmm · 2019-11-08 · in Comparing Parallel Rust and C++ -
…and std::visit. https://www.bfilipek.com/2018/09/visit-variants.html Or you can use a library: https://github.com/mpark/patterns
comment by lenkite · 2019-11-08 · in Comparing Parallel Rust and C++ -
…easily build lazy functional pipelines ( https://github.com/ericniebler/range-v3 ), pattern-match ( https://github.com/mpark/patterns ), and where generic programming is the dominant paradigm.
comment by jcelerier · 2018-12-13 · in Why should I have written ZeroMQ in C, not C++ (2012)