~/talk

C++17 Features (part 2 of 2)

Talkat CppCon 2017 · 2017-09-24..09-29· [compilers-and-language-design]
slides:none on file

C++17 adds concrete library features: string_view: non-owning pointer+length avoids copies, but becomes invalid if the source moves; std::optional: no-heap nullable wrapper provides a null state without allocation; std::par_unseq allows interleaving and the new parallel algorithms use execution policies (seq, par, par_unseq) and raise input-iterator requirements to forward. Also added std::variant with std::visit, std::any for type-erased heap storage, std::filesystem, polymorphic allocators (std::pmr), map node operations, new math functions, and _v variable templates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30StringView
  3. 7:01StringView Questions
  4. 9:41StringView Interfaces
  5. 12:30Optional
  6. 14:36Using Optional
  7. 25:30Variance
  8. 27:27Header Variant
  9. 28:15Visitation
  10. 32:08Variants
  11. 34:26StandedAny
  12. 34:54Any
  13. 35:55Parallel Algorithms
  14. 37:22Execution Policy
  15. 38:45Execution Policy Parameters
  16. 42:10File System Library
  17. 43:12Boost File System
  18. 46:48Polymorphic Allocators
  19. 49:00Improved Insertion and Spicing
  20. 50:18Merge Maps
  21. 51:35Associative Containers
  22. 52:45Variable Templates
~/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.