Since the book Effective C++ seems to be still worth reading and the best to start with from the Effective C++ series, I wonder which suggested solutions/implementations I need not understand in detail/memorize because there are better solutions in C++11 or later. So:
Which Effective C++ Items can be implemented much simpler or better via C++11 or later? How can they be implemented now, and in which way is it better?
Details:
Since there are many C++ idioms deprecated in C++11, I guess this also influences the solutions in the Effective C++ book. For example, looking at its table of contents, I guess (since I have not yet read the book) that
- Item 6 (Explicitly disallow the use of compiler-generated functions you do not want) becomes simpler via
=delete
- Item 17 (Store newed objects in smart pointers in standalone statements) becomes simpler via
make_shared
(and C++14'smake_unique
) - Item 21 (Don't try to return a reference when you must return an object) becomes simpler and more efficient via move semantics
- Item 55 (Familiarize yourself with Boost) now has fewer examples because many boost features are also part of C++11 or later.
Correct? Any more? How are these Items implemented in modern C++?