~/talk

From a modern to an unbelievably modern C++

Talkat Core C++ 2023 · 2023-06-05..06-07· [c-and-cpp]
links:none on file
links:none on file
slides:none on file

Compares concrete C++11/14 patterns to modern replacements and shows what changes, why they catch bugs and how to migrate incrementally: uses structured bindings to avoid first/second mistakes, uses an if-with-initializer to confine iterators, replaces sub_str copies with std::string_view, adopts std::variant/std::visit, fold expressions and named constraints (Concepts) to move checks to compile time, highlights std::format, std::span and mdspan (ten years to standardize) and notes large-codebases took about three years to reach C++23.

AI-written summary · about

  1. 0:00Introduction to modern C++
  2. 3:53Extracting values from pairs in C++11/14
  3. 5:16Structured bindings in C++17
  4. 5:58Safer iterators with if statements
  5. 8:07Compile-time if statements in C++17
  6. 11:20Unions and std::variant in C++17
  7. 13:52Discard attribute for return values
  8. 15:19String views for efficient substrings
  9. 17:27Fold expressions in C++17 templates
  10. 21:00std::span in C++20
  11. 23:33Safe size types in C++20
  12. 24:59std::format for string concatenation
  13. 26:25No discard with description in C++20
  14. 27:52Concepts for type constraints
  15. 31:17C++20 features overview
  16. 32:00Migrating to modern C++ standards
  17. 35:55Subscript operator changes in C++20/23
  18. 39:28Square bracket operator overloading in C++23
  19. 40:10More C++23 features
  20. 41:37When to upgrade to new standards
  21. 46:19Q&A on modern C++ features
~/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.