~/talk

Back to Basics: Functions in C++

Talkat CppCon 2023 · on Monday, 2023-10-02· at 14:00· Maple 3/4/5, 6700 North Gaylord Rockies Boulevard· [rust]
slides:none on file

Walks from simple signatures to machine code: uses compiler explorer (godbolt) and objdump to show call instructions, labels and that functions have addresses; demonstrates taking addresses, C-style pointers, std::function, arrays of operations, and higher‑order functions; covers lambdas/functors, capturing state, function composition, namespaces, headers/pragma once, modules, and grouping in classes with virtual/static/member/operator overloading; explains pass‑by‑value vs reference, span for ptr+len, and constexpr/consteval compile-time evaluation; slides and code live on the GitHub link.

AI-written summary · about

  1. 0:00Intro
  2. 0:23Welcome
  3. 1:58Goals
  4. 2:32Math Functions
  5. 4:16My Origin Story
  6. 8:29Functions
  7. 10:06Anatomy and Components
  8. 14:46Function Calls
  9. 19:39Recursion
  10. 21:52Modular Code Blocks
  11. 22:15Function Declaration
  12. 29:54Grouping Functions
  13. 38:39Composable Functions
  14. 41:58Const Expert
  15. 51:56More Functions
  16. 54:14Functions State
  17. 56:47Higher Order Functions
~/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.