~/talk

Regular Types and Why Do I Care ?

Talkat ACCU 2019 · 2019-04-10..04-13· [c-and-cpp, compilers-and-language-design]
slides:none on file

Argues that Regular types are the practical foundation behind STL and upcoming Concepts Lite/C++20, demonstrates failures when predicates are weaker than a strict total order (compare appears in over 50 STL facilities) and shows that string_view and span are non‑owning borrow types that require contextual lifetime reasoning, that equality is harder than operator== (transitivity/representation issues), and that the upcoming spaceship operator spawned many papers. Recommends designing types to be Semiregular/Regular or at least semi‑regular and to restrict borrow types to parameter use.

AI-written summary · about

  1. 0:00Introduction to regular types
  2. 3:01Vocabulary and definitions
  3. 5:51The role of mathematics
  4. 11:13Fundamentals of generic design
  5. 16:10STL principles and concepts
  6. 21:16Ordering and predicates
  7. 30:18Equality and requirements
  8. 38:17Modern C++ and type design
  9. 45:55Reference types and pitfalls
  10. 54:46Conclusion and Q&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.