~/talk

Iterator Haiku

Talkat CppCon 2016 · 2016-09-18..09-23· [c-and-cpp]
links:none on file
slides:none on file

Ranges TS shows that adding Concept-driven iterator categories expands five standard categories into seven iterator categories then a Sentinel-focused redesign collapses them back to five by dropping unnecessary equality requirements. It uses Concepts and Sentinels to distinguish weak vs strong iterator requirements, finds a transitivity contradiction with stateful Sentinels, removes the offending cross-type equality, and converts a class of undefined runtime behaviors into compile-time errors while preserving expressiveness.

AI-written summary · about

  1. 0:00Intro
  2. 0:42OVERVIEW
  3. 1:58RANGES IN STANDARD C++
  4. 2:39RANGE SEQUENCE ELEMENTS BETWEEN TWO ITERATORS
  5. 4:27THE FIVE C++14 ITERATOR CATEGORIES
  6. 9:24DOMAIN OF A FUNCTION
  7. 10:20FORWARD DOMAIN OF
  8. 11:02INPUT DOMAIN OF
  9. 13:36PALO ALTO TR
  10. 21:135 HAVE BECOME 7
  11. 23:38SENTINEL CONCEPT
  12. 25:04COMMON TYPE
  13. 29:16CROSS-TYPE EQUALITYCOMPARABLE
  14. 31:38ALGORITHMS DONT USE == FOR SINGLE-PASS ITERATORS
  15. 34:01AXIOMATIZATION OF ITERATORS WITH SENTINELS
  16. 35:43STATEFUL SENTINELS AND "ALWAYS EQUAL"
  17. 39:38START OVER WITH ALGORITHM REQUIREMENTS
  18. 41:09WEAKLYEQUALITYCOMPARABLE
  19. 42:12WEAK RANGES ARE POSSIBLE
  20. 42:58STATEFUL SENTINELS WORK
  21. 45:16MOST IMPORTANTLY
  22. 46:54TAKEAWAY CONCEPT LIBRARY DESIGN
~/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.