更新时间:2021-07-02 18:29:27
cover
Title Page
Copyright
Mastering C++ Programming
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Dedication
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
C++17 Features
C++17 background
What's new in C++17?
What features are deprecated or removed in C++17?
Key features in C++17
Easier nested namespace syntax
New rules for type auto-detection from braced initializer list
Simplified static_assert
The std::invoke( ) method
Structured binding
If and Switch local scoped variables
Template type auto-deduction for class templates
Inline variables
Summary
Standard Template Library
The Standard Template Library architecture
Algorithms
Iterators
Containers
Functors
Sequence containers
Array
Code walkthrough
Commonly used APIs in an array
Vector
Commonly used vector APIs
Pitfalls of a vector
List
Commonly used APIs in a list
Forward list
Commonly used APIs in a forward_list container
Deque
Commonly used APIs in a deque
Associative containers
Set
Commonly used APIs in a set
Map
Commonly used APIs in a map
Multiset
Multimap
Unordered sets
Unordered maps
Unordered multisets
Unordered multimaps
Container adapters
Stack
Commonly used APIs in a stack
Queue
Commonly used APIs in a queue
Priority queue
Commonly used APIs in a priority queue
Template Programming
Generic programming
Function templates
Overloading function templates
Class template
Explicit class specializations
Partial template specialization
Smart Pointers
Memory management
Issues with raw pointers
Smart pointers
auto_ptr
Code walkthrough - Part 1
Code walkthrough - Part 2
unique_ptr