~/talk

“Concepts: The Future of Generic Programming (the future is here)”

Talkat CppCon 2018 · 2018-09-23..09-28· [compilers-and-language-design]
slides:none on file

Concepts are now usable, implemented in GCC and Clang and slated for C++20, and they let templates be constrained by readable predicates rather than fragile SFINAE hacks. Expect clearer overload resolution for algorithms and ranges, faster compilation, and zero-overhead compile-time checks that simplify enable_if-heavy code. Design guidance: name and refine high-level concepts (avoid ad hoc “requires requires”), start with incomplete concepts and evolve them, use static_asserts and archetypes to test interfaces.

AI-written summary · about

  1. 0:00Introduction
  2. 0:16Speaker Introduction
  3. 0:45The History of Concepts
  4. 1:13Generic programming goals
  5. 5:21C++20 Status
  6. 22:11Benefits of Concepts
  7. 22:40Designing with Concepts
  8. 26:03Real-world examples
  9. 38:35History of Concepts
  10. 39:59What is a concept
  11. 40:28Building useful concepts
  12. 48:59Design Principles
  13. 49:10Q&A and Conclusions
~/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.