~/lightning

my favorite C++ feature

Lightningat Meeting C++ 2016 · 2016-11-18..11-19· [rust]
links:none on file
slides:none on file

Claim: C++ function pointers are the favorite feature and they behave oddly but predictably. Code examples build add and mul, a call(funcptr) that takes a function pointer, a picker that returns a function pointer, and variants that choose among many functions. The surprising tool: a function implicitly converts to a pointer to itself so dereferencing and re-dereferencing is valid — implicit conversion — tested with Visual C++ and GCC and it compiles even with hundreds of asterisks using plain function pointers.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30The closing brace
  3. 0:50My favourite feature
  4. 1:00Function pointers
  5. 1:30Adding indirection
  6. 3:20Multiple pick functions
  7. 3:35Function pointer
~/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.