page = arthur o'dwyer – stuff mostly about c++
url = https://quuxplusone.github.io/blog
cppcon overload-resolution puzzles
I contributed some puzzles to the online venue for CppCon 2021. Some of my contributions were just C++ Pub Quiz questions recycled from 2019; but I also contributed a set of logic puzzles that I think are fairly novel. I’m going to call this type of puzzle “overload arrangement.”
C++ Pub Quiz at CppCon 2021, Game Two
Last night I emceed Game 2 of CppCon 2021’s “C++ Pub Quiz.” This time, five teams participated, and the results were again pretty close: In first place, the ironically named Team Dead Weight with 29.5 points, followed by
decltype([](){})
at 28 and the Metaprogrammers at 27. Thanks also to the Leftovers and the Abominable Types.
C++ Pub Quiz at CppCon 2021, Game One
CppCon 2021 is half over already. Tonight I emceed the first game of the third annual CppCon “C++ Pub Quiz.” Herb Sutter offered opening remarks, and then joined one of our seven teams for a few rounds of play. What is C++ Pub Quiz, you ask? It’s a straightforward trivia night — five rounds, ten questions per round, write down your team’s answers on a sheet of paper and turn it in at the end of the round. High score after five rounds wins the game.
Seven teams participated in this year’s Pub Quiz. The winning team of the night was Team BYOB, with a score of 33 points, just edging out Team Hufflepuff at 32. Third place went to Rotate! That’s A with 30 points. Thanks also to Symbol Not Found; Unit Tested; the Reference ₩rappers a.k.a. UB Unicorns; and Flying Blind.
Don’t reopen
namespace std
antipatterns c++-style cppcon sd-8-adjacent slogans templates
Today (in two different contexts) I saw people reopening
in order to introduce a specialization of a standard template. For example: