~/talk

Calling Functions: A Tutorial

Talkat CppCon 2020 · 2020-09-14..09-18· at 12:00· generate_n(), online· [rust]
slides:none on file

Covers the concrete mechanics that determine which function the compiler actually calls: name lookup, template argument deduction, then overload resolution producing a single best candidate, followed by access checks, template specialization, virtual dispatch and deleted-function rules. Demonstrates surprises: hiding and two‑phase lookup, ADL only for user types, access is checked after overload resolution, deleted functions still exist and cause errors. Uses concise code examples and slides, points to cppreference and deeper talks for full details.

AI-written summary · about

  1. 0:00Intro
  2. 3:04Overview
  3. 5:49Un-Qualified Name Lookup
  4. 15:48Argument Dependent Lookup
  5. 20:13Two-Phase Lookup
  6. 22:06Template Argument Deduction
  7. 25:52Finding a Best Match (1 Parameter)
  8. 31:09Templates vs. Non-Templates
  9. 33:11Promotions (Rank 2)
  10. 35:04Standard Conversions (Rank 3)
  11. 38:22User-Defined Conversions
  12. 42:44Finding a Best Match (Multiple Parameters)
  13. 46:34Access Labels
  14. 53:34Virtual Dispatch
  15. 54:16Deleting Functions
  16. 56:44Summary
~/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.