~/talk

“Enhanced Support for Value Semantics in C++17”

Talkat CppCon 2017 · 2017-09-24..09-29· [c-and-cpp, software-architecture]
links:none on file
slides:none on file

Covers concrete C++17 additions: std::optional (holds T in-place, adds nullopt_t, value_or copies/moves the contained T), std::variant (type-safe union, stores largest alternative in-place, supports visit/get/get_if, can become valueless_by_exception if a type-change throws, monostate provides an explicit empty alternative), and std::any (type-safe void*, usually heap-allocates, checked any_cast). Recommends preferring optional then variant then any and notes mpark::variant backport for pre-C++17.

AI-written summary · about

  1. 0:00Introduction to the topic
  2. 0:56Values versus objects
  3. 7:03Optional in C++17
  4. 27:47Variant in C++17
  5. 43:32Any in C++17
  6. 48:51Comparison and summary
  7. 51:10Q&A session
~/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.