~/talk

Six Ways for Implementing Math Expressions Calculator in C++

Talkat CppCon 2023 · on Wednesday, 2023-10-04· at 09:00· Cottonwood 2/3, 6700 North Gaylord Rockies Boulevard· [rust]
slides:none on file

Builder creates a Math Expression Calculator several times over and compares designs by concrete results: starts with pointer-based polymorphism then replaces raw new/delete with unique_ptr vs shared_ptr, measures when cloning is required and when shared ownership gives cheap copies, moves to templates and variadic templates to remove inheritance, uses constexpr, type traits and C++20 concepts to constrain greedy overloads, shows adapter/factory patterns that compile and run and reports which variants simplify code and which hurt flexibility.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05About the speaker
  3. 3:11Math expression challenge
  4. 9:14Raw to smart pointers
  5. 13:16Hiding smart pointers
  6. 18:54Unique vs shared pointers
  7. 26:05Literals without types
  8. 33:17Constructor adapters
  9. 41:54Static polymorphism
  10. 48:22Variadic expressions
  11. 53:50Design choices summary
  12. 57:24Q&A
~/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.