~/talk

Less Boilerplate, More Business Logic – 20/23 that makes our code better

Talkat Core C++ 2025 · on Sunday, 2025-10-19· [c-and-cpp]
links:none on file
slides:none on file

Shows concrete before/after refactors using C++20/23: replace manual loops and iterator boilerplate with std::views::transform and chained lazy views, then materialize results with std::ranges::to (C++23) to get a container; use designated initializers for safer aggregate construction instead of many constructors or a builder; use std::expected for T/E returns. Live demos print constructor/copy logs and reveal a surprising extra temporary when returning expected (RVO only applies to identical return types), so the features reduce noise but have measurable performance caveats.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:52Modern C++ focus beyond correctness
  3. 3:57What is boilerplate code
  4. 10:21Data sequence processing with ranges
  5. 16:21Ranges vs views in C++20
  6. 26:18Data structure initialization in C++20
  7. 36:03Error handling with std::expected
  8. 46:28Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.