摘要: C++ Concurrency in Action Anthony Williams Chapter 3. Sharing data between threads 3.1.1 Race conditions In concurrency, a race condition is anything 阅读全文
posted @ 2019-01-08 12:51 lefthook 阅读(230) 评论(0) 推荐(0) 编辑
摘要: C++ Concurrency in Action Anthony Williams Chapter 2. Managing Threads 2.1 Basic thread management 2.1.1 Launching a thread If you don't wait for your 阅读全文
posted @ 2019-01-07 05:14 lefthook 阅读(206) 评论(0) 推荐(0) 编辑
摘要: C++ Concurrency in Action Anthony Williams Chapter 1. Hello, world of concurrency in C++! 1.1 What is concurrency? 1.1.1 Concurrency in computer syste 阅读全文
posted @ 2019-01-06 07:16 lefthook 阅读(336) 评论(0) 推荐(0) 编辑
摘要: Effective C++ Scott Meyers Chapter 7. Templates and Generic Programming 1. Item 45: Use member function templates to accept "all compatible types". Co 阅读全文
posted @ 2019-01-04 23:20 lefthook 阅读(289) 评论(0) 推荐(0) 编辑
摘要: Effective C++ Scott Meyers Chapter 7. Templates and Generic Programming 1. Item 41: Undetstand Implicit interfaces and compile-time polymorphism Both 阅读全文
posted @ 2019-01-02 02:45 lefthook 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Effective C++ Scott Meyers Chapter 5. Implementations 1. Item 30: Understand the ins and outs of inlining. Inline is a request to compilers, not a com 阅读全文
posted @ 2018-12-29 17:14 lefthook 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Effective C++ Scott Meyers Chapter 4. Designs and Declarations 1. Item 25: Consider support for a non-throwing swap. Provide a swap member function wh 阅读全文
posted @ 2018-12-26 16:28 lefthook 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Effective C++ Scott Meyers Chapter 2. Constructors, Destructors, and Assignment Operators 1. Item 5: Know what functions C++ silently writes and calls 阅读全文
posted @ 2018-12-24 13:57 lefthook 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Effective C++ Scott Meyers Chapter 1. Uses and Abuses of vector 1. Item 4: Make sure that objects are initialized before they're used. Use member init 阅读全文
posted @ 2018-12-24 12:08 lefthook 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Bo Qian's YouTube Channel Modern C++ 1. C++ 11 Library: Unique Pointers 2. C++ 11: Resource Managing Class 3. C++ 11 Library: Tuple 4. C++ 11 Library: 阅读全文
posted @ 2018-12-16 15:28 lefthook 阅读(119) 评论(0) 推荐(0) 编辑