An implementation of the latest C++ pattern matching proposal (wg21.link/p2688r2), `match` expression, is available on Compiler Explorer!
Most of the proposed patterns and constant evaluation are implemented.
Example link: godbolt.org/z/d9sG69Gn9
An implementation of the latest C++ pattern matching proposal (wg21.link/p2688r2), `match` expression, is available on Compiler Explorer!
Most of the proposed patterns and constant evaluation are implemented.
Example link: godbolt.org/z/d9sG69Gn9
Let's have some love for @mcypark's paper publishing platform: github.com/mpark/wg21
Idea to paper in 4 hours, of which 5 minutes was spent putting the typesetting support together. Magnificent.
Experimental implementation of C++ pattern matching (wg21.link/P1371) is available on Compiler Explorer!
A silly fizz buzz example: godbolt.org/z/fdd5j4
Thank you to @brunosy for the on-going implementation work and @lenary for the Compiler Explorer deployment.
#cpp
PSA for users of github.com/mpark/wg21:
1) The project now installs a local, pinned version of Pandoc and a Python virtualenv with the correct Panflute package. This should stabilize the experience, most importantly the breaking API changes that were introduced by Pandoc 2.10.
3) The dates for the bibliography now shows the full year-month-day (instead of just the year). The full JSON is built by fetching / locally merging wg21.link/index.yaml and wg21.link/index.html, but @m_ou_se has offered to host a wg21.link/csl.json instead. Thank you!
Even after having been through so many of the traps in C++, there's still nothing quite like the rage I felt finding out about the requirement of tabs in Makefiles.