C++17: The Library Features
summary
C++17 adds concrete, usable library features: a non-owning string_view lifetime issues with a literal suffix sv and matching hash to std::string; value wrappers optional/variant/any (variant can become valueless by exception); std::filesystem with path parsing changes, relative-path semantics and some API breaks vs Boost; parallel STL execution policies (seq, par, par_unseq); node-based map/set extraction that avoids reallocation; fast to_chars/from_chars conversions, shared_ptr for arrays, new atomics and search algorithms.
AI-written summary · about
chapters (37)
- 0:00Introduction
- 0:44Library features
- 0:57Vocabulary types
- 1:41StringView
- 5:30SpringView
- 6:53String View
- 13:35Optional Variants
- 14:38Details
- 17:06Variant
- 19:19Variant error handling
- 20:16Boost
- 21:10Any
- 24:23Move
- 25:08ObjectiveData
- 26:50Path Operator
- 27:44File Systems
- 30:17Compatibility
- 30:56File names
- 32:12Relative paths
- 33:52Symbolic links
- 36:01Parallel STL
- 36:56What is the difference
- 39:05Parallel or sequence
- 39:34Moving elements
- 39:48Extract elements
- 40:40Error handling
- 40:55Special state
- 41:09Change key
- 42:03String conversions
- 43:31Shared blocks
- 44:25C interface
- 45:04Type trait
- 46:21Numeric library functions
- 46:57Edit template
- 47:25Minor fixes
- 52:06Bug fixes
- 55:20Conclusion








