page = arthur o'dwyer – stuff mostly about c++
url = https://quuxplusone.github.io/blog
argument-dependent-lookup compiler-diagnostics hidden-friend-idiom llvm templates
As of this writing, Chris Di Bella is running a survey on /r/cpp asking what are the biggest pain points with Clang’s diagnostics. In the free-form text entry field, I made two observations, which I’m now expanding into a full-fledged blog post. (Don’t worry — I didn’t type all this into that Google Forms survey!)
To enable ADL, add a using-declaration
argument-dependent-lookup c++-style customization-points library-design name-lookup paradigm-shift
This is yet another followup to “What is the std::swap two-step?” (2020-07-11) and “PSA: ADL requires that unqualified lookup has found a function” (2022-04-14), as my mental model continues to evolve. (Mainly due to pressure from Jody Hagins. :))
The humble potato
food litclub old-shit
From Blackwood’s Magazine , November 1819: