~/talk

An Overview of C++11/14, Part I

Talkat CppCon 2014 · on Monday, 2014-09-08· at 14:00· Leibnitz· [rust]
links:none on file
slides:none on file

Survey lists concrete language changes and shows code that compiles: uses auto and decltype for return types, rvalue references and move semantics for performance, and variadic templates to implement sum/average at compile time. Demo replaces manual iterator typedefs with non‑member begin/end, uses nullptr, range‑for, static_assert, conditional noexcept, extern template to cut object bloat, and constexpr enhancements in C++14. Slides and source materials live at https://github.com/CppCon/CppCon2014 and the examples are tested and runnable.

AI-written summary · about

  1. 0:00Intro
  2. 1:43About the Code Examples
  3. 2:35ISO C++ Timeline
  4. 7:16Problem: Wordy declarations
  5. 15:29Problem: What's the Return Type?
  6. 16:24decltype and Trailing Return Type
  7. 21:57Problem: Null Pointers
  8. 25:10Generalized Function Return Type Deduction in C++14
  9. 27:57Improvement: Range-Based for Loop
  10. 30:50Compile-Time Assertions: static_assert
  11. 36:53The Failed Solution: export
  12. 39:00Problem: Dynamic Exception Specifications
  13. 43:29Problem: How Do You Write a Function to Average N Values?
  14. 45:21Variadic Templates
  15. 55:53Template Alias
  16. 58:33Inline Namespaces
~/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.