
@facebook engineer, @isocpp member, @llvmorg committer, @apachemesos committer
San Francisco, CA
Joined May 2014
- Tweets877
- Following162
- Followers1.1K
- Likes935
Pinned Tweet
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
Matching Optionals (if-let-style): godbolt.org/z/Wac15W7ab
#cpp
"C-strings are trash. They should be thrown in the garbage, where they belong." - #myarcheologist after week 3 of her second C++ course
Michael Park retweeted
It's great to see the work of @mcypark and @brunosy on pattern matching in C++(wg21.link/P1371) available in compiler explorer (thanks @lenary).
godbolt.org/z/M7hGYv5rb
Thanks for the love!
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!
Tagging those who may be interested: @atomgalaxy @BarryRevzin @brunosy @ericniebler @kirkshoop @lewissbaker @LeeWHowes @n_axel_n @PeterSommerlad @sdowney @supahvee1234 @tcanens @vzverovich







