complete summary.md

This commit is contained in:
David 2022-06-30 10:15:10 +08:00
parent a6b1a03b02
commit 16db34a1d7

View File

@ -6,6 +6,48 @@
- [Item 2: Understand auto type deduction](./1.DeducingTypes/item2.md)
- [Item 3: Understand decltype](./1.DeducingTypes/item3.md)
- [Item 4: Know how to view deduced types](./1.DeducingTypes/item4.md)
- [Chpater 2. auto]()
- [Chapter 2. auto]()
- [Item 5: Prefer auto to explicit type declarations](./2.Auto/item5.md)
- [Item 6: Use the explicitly typed initializer idiom when auto deduces undesired types](./2.Auto/item6.md)
- [Chapter 3. Moving to Modern C++]()
- [Item 7: Distinguish between () and {} when creating objects](./3.MovingToModernCpp/item7.md)
- [Item 8: Prefer nullptr to 0 or NULL](./3.MovingToModernCpp/item8.md)
- [Item 9: Prefer alias declarations to typedefs](./3.MovingToModernCpp/item9.md)
- [Item 10: Prefer scoped enums to unscoped enums](./3.MovingToModernCpp/item10.md)
- [Item 11: Prefer deleted functions to private undefined ones](./3.MovingToModernCpp/item11.md)
- [Item 12: Declare overriding functions override](./3.MovingToModernCpp/item12.md)
- [Item 13: Prefer const_iterators to iterators](./3.MovingToModernCpp/item13.md)
- [Item 14: Declare functions noexcept if they won't emit exceptions](./3.MovingToModernCpp/item14.md)
- [Item 15: Use constexpr whenever possible](./3.MovingToModernCpp/item15.md)
- [Item 16: Make const member functions thread safe](./3.MovingToModernCpp/item16.md)
- [Item 17: Understand special member funciton generation](./3.MovingToModernCpp/item17.md)
- [Chapter 4. Smart Pointer]()
- [Item 18: Use std::unique_ptr for exclusive-ownership resource management](./4.SmartPointers/item18.md)
- [Item 19: Use std::shared_ptr for shared-ownership resource management](./4.SmartPointers/item19.md)
- [Item 20: Use std::weak_ptr for std::shared_ptr like pointers that can dangle](./4.SmartPointers/item20.md)
- [Item 21: Prefer std::make_unique and std::make_shared to direct use of new](./4.SmartPointers/item21.md)
- [Item 22: When using the Pimpl Idiom, define special member functions in the implementation file](./4.SmartPointers/item22.md)
- [Chapter 5. Rvalue References, Move Semantics, and Perfect Forwarding]()
- [Item 23: Understand std::move and std::forward](./5.RRefMovSemPerfForw/item23.md)
- [Item 24: Distinguish universal references from rvalue references](./5.RRefMovSemPerfForw/item24.md)
- [Item 25: Use std::move on rvalue references, std::forward on universal references](./5.RRefMovSemPerfForw/item25.md)
- [Item 26: Avoid overloading on universal references](./5.RRefMovSemPerfForw/item26.md)
- [Item 27: Familiarize yourself with alternatives to overaloading on univeral references](./5.RRefMovSemPerfForw/item27.md)
- [Item 28: Understand reference collapsing](./5.RRefMovSemPerfForw/item28.md)
- [Item 29: Assume that move operations are not present not cheap, and not used](./5.RRefMovSemPerfForw/item29.md)
- [Item 30: Familiarize yourself with perfect forwarding failure cases](./5.RRefMovSemPerfForw/item30.md)
- [Chapter 6. Lambda Expressions]()
- [Item 31: Avoid default capture modes](./6.LambdaExpressions/item31.md)
- [Item 32: Use init capture to move objects into closures](./6.LambdaExpressions/item32.md)
- [Item 33: Use decltype on auto&&parameters to std::forward them](./6.LambdaExpressions/item33.md)
- [Item 34: Prefer lambdas to std::bind](./6.LambdaExpressions/item34.md)
- [Chapter 7. The Concurrency API]()
- [Item 35: Prefer task-based programming to thread-based](./7.TheConcurrencyAPI/Item35.md)
- [Item 36: Specify std::launch::async if asynchronicity is essential](./7.TheConcurrencyAPI/item36.md)
- [Item 37: Make std::threads unjionable on all paths](./7.TheConcurrencyAPI/item37.md)
- [Item 38: Be aware of varying thread handle destructor behavior](./7.TheConcurrencyAPI/item38.md)
- [Item 39: Consider void futures for one-shot event communication](./7.TheConcurrencyAPI/item39.md)
- [Item 40: Use std::atomic for concurrency, volatile for special memory](./7.TheConcurrencyAPI/item40.md)
- [Chapter 8. Tweaks]()
- [Item 41: Consider pass by value for copyable parameters that are cheap to move and always copied](./8.Tweaks/item41.md)
- [Item 42: Consider emplacement instead of insertion](./8.Tweaks/item42.md)