摘要: Bo Qian's YouTube Channel Modern C++ 1. Learn C++ 11 in 20 Minutes - Part 1 Vector initializer. Extended curly braces initialization to any classes, t 阅读全文
posted @ 2018-12-15 21:47 lefthook 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Effective Modern C++ Chapter 7. Rvalue References, Move Semantics, and Perfect Forwarding 1. Item 27: Familiarize yourself with alternatives to overlo 阅读全文
posted @ 2018-12-14 15:16 lefthook 阅读(82) 评论(0) 推荐(0) 编辑
摘要: Effective Modern C++ Chapter 7. Rvalue References, Move Semantics, and Perfect Forwarding 1. Item 23: Understand std::move and std::forward. 2. Item 2 阅读全文
posted @ 2018-12-13 21:47 lefthook 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Effective Modern C++ Chapter 7. The Concurrency API 1. Item 35: Prefer task-based programming to thread -based. 2. Item 36: Specify std::launch::async 阅读全文
posted @ 2018-12-12 20:06 lefthook 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Google C++ Style Guide 1. Default Arguments Can a virtual function have default arguments? Default Arguments are allowed on non-virtual functions when 阅读全文
posted @ 2018-12-11 19:50 lefthook 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Google C++ Style Guide 1. Doing Work in Constructors Avoid virtual method calls in constructors, and avoid initialization that can fail if you can't s 阅读全文
posted @ 2018-12-10 20:59 lefthook 阅读(273) 评论(0) 推荐(0) 编辑
摘要: Bo Qian's YouTube Channel Advanced C++ 1. Logic Constness and Bitwise Constness What is Logic Constness and Bitwise Constness 2. Compliler Generated F 阅读全文
posted @ 2018-12-07 22:59 lefthook 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Bo Qian's YouTube Channel Advanced C++ 1. Const What is the rule of const on the left of * and right of *? How to cast const variable to non-const and 阅读全文
posted @ 2018-12-06 22:06 lefthook 阅读(143) 评论(0) 推荐(0) 编辑
摘要: TheChernoProject 1. Unions in C++ 2. C++ Header Files 3. Templates in C++ 4. Lambdas in C++ 5. Function Pointers in C++ 6. Virtual Destructors in C++ 阅读全文
posted @ 2018-11-29 13:58 lefthook 阅读(111) 评论(0) 推荐(0) 编辑