~/talk

Keep Your Friends under control

Talkat CppCon 2019 · 2019-09-15..09-20· [software-architecture]
slides:none on file

Placing a free function as an inline friend inside a class makes it hidden from the enclosing namespace so it is only found by ADL, which cuts the huge list of overloads that usually swamp error messages and slow compilation; the talk shows example error output before and after and claims noticeably smaller diagnostic noise and faster compile in practice. Tradeoff: the function must be inline friend, changing linkage/definition habits. A separate independence of declaration proposal suggests a new keyword to get the same effect without making it inline.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.