@facebook engineer, @isocpp member, @llvmorg committer, @apachemesos committer

San Francisco, CA
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
16
50
285
101,753
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
16
50
285
101,753
Matching Optionals (if-let-style): godbolt.org/z/Wac15W7ab #cpp
7
1,191
"C-strings are trash. They should be thrown in the garbage, where they belong." - #myarcheologist after week 3 of her second C++ course
1
4
was rather confused for a few moments with this one 😂
1
25
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
5
14
Interesting to see what Twitter considers sports 😂 ⁦@Cor3ntin⁩
1
9
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.
1
6
sed 's/cloves/heads/g' cookbook.txt
3
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
8
76
297
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.
1
2
13
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!
1
3
Tagging those who may be interested: @atomgalaxy @BarryRevzin @brunosy @ericniebler @kirkshoop @lewissbaker @LeeWHowes @n_axel_n @PeterSommerlad @sdowney @supahvee1234 @tcanens @vzverovich
1
5
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.
2
19