Stdle #151 · overload · 2026-11-04
What does this C++ snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
#include <iostream> namespace N { struct S {}; void f(S) { std::cout << "ADL\n"; }}int main() { N::S s; f(s);}Overload