~/talk

C++ Design Patterns: From C++03 to C++17

Talkat CppCon 2019 · 2019-09-15..09-20· [software-architecture]
links:none on file
slides:none on file

Follows several concrete pattern evolutions: a Builder variant uses initializer_list plus move semantics to let templates synthesize boilerplate instead of hand‑writing builders; Visitor shifts from per-class virtual accept boilerplate to a reusable template + lambda overload set that leverages overload resolution, and to alternative polymorphism via std::visit over std::variant; ScopeGuard becomes composable and can auto‑commit/auto‑rollback using C++17’s uncaught_exceptions, turning nested try/catch cleanup into lightweight RAII. Slides and source live on GitHub (CppCon/CppCon2019).

AI-written summary · about

  1. 0:00Introduction to design patterns
  2. 1:36Design patterns evolution and language impact
  3. 7:03Builder pattern in C++
  4. 14:49Visitor pattern deep dive
  5. 29:34Visitor pattern in C++17
  6. 34:58Scope guard pattern basics
  7. 41:07Scope guard in C++11 and C++14
  8. 44:20Scope guard in C++17
  9. 50:21Language impact on design patterns
  10. 52:18Q&A and resources
~/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.