~/talk

What is a static function but isn't a static function

Talkat Meeting C++ 2024 · 2024-11-14..11-16· [rust]
links:none on file
slides:none on file

Claims that making the implicit this explicit (the deducing this proposal) turns some member functions into ordinary function-signatures so they can be used as higher-order functions, pointers, and with std::invoke, shown with assembly and calling examples. Demonstrates tool differences: clang vs msvc accept different encodings and pointer-initialization behaviors while GCC rejects some forms. Shows concrete code that collapses the usual eight CV/ref overloads to one implementation and highlights when calls actually compile or produce ambiguous errors.

AI-written summary · about

  1. 0:00Welcome
  2. 2:11Talk introduction
  3. 4:46Compiler function call resolution
  4. 9:00Overload resolution ambiguities
  5. 13:16Ref-qualifiers in overloads
  6. 15:42Static member functions
  7. 18:59Higher-order functions
  8. 22:36Function pointer quirks
  9. 27:15Overloads with function pointers
  10. 33:24Static member functions that aren't
  11. 39:07Deducing 'this'
  12. 41:40Overload limits
  13. 45:16Conversion operators
  14. 47:22Lessons from wild night
~/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.