Closed richelbilderbeek closed 9 years ago
Todo:
Distinguish () and {} When Creating Objects
Be Wary of Default Capture Modes in Lambdas Escaping Member Functions
Prefer Emplacement to Insertion
Pass std::launch::async if Asynchronicity is Essential
Minimize use of Weak Atomics
Assume that move operations are neither present nor cheap
Prefer Lambdas over Variadic Arguments to Threading Functions
Be Wary of Oversubscription
Pass by Value if You’ll Copy Your Parameter
For Copyable Types, View Move as an Optimization of Copy
Need his book to do so better.
This issue was moved to richelbilderbeek/RichelbilderbeekNl#3
From http://cppandbeyond.com/2012/04/16/session-topic-initial-thoughts-on-effective-c11: