问题描述
根据我在中看到的内容,我决定开始阅读此书。
From what I saw in this post I decided to start reading the book Effective C++.
但现在有很多新的功能,因为C ++ 11和一些好的做法改变,我不知道它是否是一个好主意。 C ++ 11的出现是否废弃了Effective C ++中包含的任何建议?
But now that there are many new features because of C++11 and that a few of the good practices changed, I'm not sure whether or not it is actually a good idea. Has the advent of C++11 deprecated any of the advice contained in Effective C++? If so, which topics should I avoid?
推荐答案
这是Scott Meyers自己不得不说的话
This what Scott Meyers himself had to say about it on his own blog
这并不意味着Effective C ++是一个完美的匹配
C ++ 0x。本书没有讨论C ++ 0x的新特性,因此缺少有关使用这些特性的
项目。一个C ++ 0xified
有效的C ++肯定有Items用于移动操作,
用于统一的初始化和lambda表达式,它可能有一个整章有效地使用并发API 。这样的书还将包含不同的示例,例如,使用自动变量,基于范围的for循环,类内默认初始化器,以及偶尔的可变参数模板。在这本书缺乏对C ++ 0x支持的程度上,错误是那些遗漏,而不是佣金。
This doesn't mean that this Effective C++ is a perfect match for C++0x. The book doesn't discuss features new to C++0x, so Items about making effective use of those features are missing. A C++0xified Effective C++ would certainly have Items devoted to move operations, to uniform initialization, and to lambda expressions, and it'd probably have an entire chapter on making effective use of the concurrency API. Such a book would also contain different examples, e.g., ones making use of auto variables, range-based for loops, in-class default initializers, as well as the occasional variadic template. To the extent that this book falls short in its support for C++0x, the errors are those of omission, not commission.
UPDATE :新标题有效现代C ++ 自2014年11月起从和 亚马逊 (和许多其他您可以google的)。
UPDATE: the new title Effective Modern C++ has been for sale since November 2014 from O'Reilly and Amazon (and many others that you can google for).
这篇关于是有效的C ++仍然有效吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!