~/talk

“STL Algorithms in Action "

Talkat CppCon 2015 · 2015-09-21..09-25· [software-architecture]
slides:none on file

Demonstrates use of the C++ Standard Library algorithms (STL algorithms) by showing common and unexpected ways to apply them in real code; covers seeing algorithms used in their typical contexts and then repurposing them to perform surprising tricks. Uses concrete C++ STL algorithm facilities throughout to illustrate how pervasive and powerful they can be for writing cleaner, more maintainable code.

AI-written summary · about

  1. 0:00Intro
  2. 1:12What are algorithms?
  3. 1:43What are STL algorithms?
  4. 3:19What is a raw loop anyway?
  5. 5:44Classes of STL algorithms
  6. 12:16accumulate
  7. 12:43for each example Generate a single hash for all strings in a vector
  8. 14:25transform example Generate hash for each string in a vector
  9. 16:52all of example
  10. 19:41another for each example
  11. 22:24adjacent_find
  12. 22:42adjacent find example
  13. 25:20remove if (with erase) Scott Meyers, "Effective STL,"items 9 and 32
  14. 28:47sort and stable sort
  15. 33:03partial sort example visual
  16. 34:42Know your sorta-sorts, cont.
  17. 35:34partition example
  18. 36:35partition copy example
  19. 37:01Mixing up partitions!
  20. 44:03partial_sort vs. nth_element + sort
  21. 49:01rotate
  22. 57:12gather gather multiple elements around a point Sean Parent, C++ Seasoning
  23. 59:37Coming soon to a compiler near you! Parallel algorithms
~/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.