~/talk

Concepts - Evolution or Revolution

Talkat Meeting C++ 2019 · 2019-11-14..11-16· [rust]
slides:none on file

Argues that C++20 Concepts are both evolution and revolution and demonstrates concrete effects: uses C++20 requires clause, abbreviated function templates, and the detection idiom plus type_traits to build concepts like equal, ordering and regular/semi‑regular, constrains a GCD to integral types, and shows std::sort overloads picking the best iterator implementation. Error messages shrink (about 50 lines down to ~2) and concept-based overload resolution and compile‑time predicates work as shown with std::list, vector and unordered_set.

AI-written summary · about

  1. 0:00Intro
  2. 0:36First overview
  3. 1:27Strange observation
  4. 2:28Wrong way
  5. 3:27Concepts
  6. 4:28First Impressions
  7. 5:33History
  8. 6:16Boring Stuff
  9. 6:28Is sortable
  10. 7:33What can we do
  11. 8:51Apply concepts to classes
  12. 9:30Pushback
  13. 11:23Declaration
  14. 12:12Overload
  15. 13:32Specialization
  16. 14:12Generic Lambda
  17. 16:54Unified Syntax
  18. 17:22Concept Integral
  19. 18:29Simple rule
  20. 19:53Syntax sugar
  21. 20:25Function templates
  22. 21:58C compiler
  23. 23:07Concept overload
  24. 24:06Template integrity
  25. 25:40Auto
  26. 26:06Speed
  27. 26:18Modular spelling
  28. 27:25Irradiation
  29. 28:29Draft Syntax
  30. 28:42Concept Equal
  31. 32:22Haskell
  32. 32:54Hesketh
  33. 35:15Unordered set
  34. 35:44Regular type
  35. 39:06Semiregular
  36. 40:13Miracle
  37. 40:58Evolution or Revolution
  38. 48:50Defining a concept
~/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.