~/talk

Regular, revisited

Talkat Meeting C++ 2023 · 2023-11-12..11-14· [typescript]
slides:none on file

Explains why regular = semi-regular + equality matters for STL algorithms, shows C++20 Concepts and three‑way comparison formalizing requirements, and gives concrete surprises: NaN breaks set/ordering semantics, and span loses operator== (so it becomes non‑regular). Demos use string_view, optional, span and sort/set examples, cites Stepanov and Winters, points to slides and survey, and argues design choices actually implemented (equality removed for span) change whether things behave intuitively.

AI-written summary · about

  1. 0:00Regular types in C++
  2. 1:29Why regular types matter
  3. 7:13Values objects and types in C++
  4. 12:58Mathematical foundations essential
  5. 17:46STL design and value semantics
  6. 29:18STL algorithm requirements
  7. 33:42Weak ordering and sorting
  8. 40:09Equality vs equivalence in C++
  9. 44:51Regular and semi-regular types
  10. 50:14Modern C++ features and value semantics
  11. 57:04String view and non-owning types
  12. 1:02:22Call to action for regular types
~/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.