Hacker News new | past | comments | ask | show | jobs | submit login
UFCS is a breaking change, of the worst kind (isocpp.org)
3 points by coffeeaddict1 on Oct 30, 2023 | hide | past | favorite | 1 comment



For those who don’t recognize the abbreviation: ADL is argument-dependent lookup. https://en.cppreference.com/w/cpp/language/adl:

“Argument-dependent lookup, also known as ADL, or Koenig lookup, is the set of rules for looking up the unqualified function names in function-call expressions, including implicit function calls to overloaded operators. These function names are looked up in the namespaces of their arguments in addition to the scopes and namespaces considered by the usual unqualified name lookup.

Argument-dependent lookup makes it possible to use operators defined in a different namespace.”




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: