Perface
前言
Countless programmers have learned C++ from previous editions of C++ Primer. During that time在那段时间里/在此期间, C++ has matured/məˈtʃʊə $ -ˈtʃʊr/ v. 成熟 greatly: Its focus, and that of its programming community, has widened/ˈwaɪdn/ v. 拓展/扩大 have widened from ... to ... 从...拓展到... from looking mostly efficiency/ɪˈfɪʃənsi/ n. 效率(这里指机器执行效率) to devoting more attention to programmer efficiency.
无数程序员通过《C++ Primer》的上一版学会了 C++。在此期间,C++本身也日益成熟:无论是语言本身还是其开发者社区,其关注焦点已从主要着眼于机器运行效率,扩展到了更多地关注程序员的编程效率。
In 2011, the C++ standards committee/kəˈmɪti/ n. 委员会 issued/ˈɪʃuː, ˈɪsjuː $ ˈɪʃuː/ v. 发布、提醒 a major/ˈmeɪdʒə $ -ər/ adj. 重大的;主要的 revision to the ISO C++ standard. This revised/rɪˈvaɪz/ v. 修订、修改 standard is latest step in C++’s evolution and continues the emphasis/ˈemfəsɪs/ n. 强调 on programmer efficiency. The primary/ˈpraɪməri $ -meri/ adj. 首要的、主要的 goals/ɡəʊl $ ɡoʊl/ n. 目标、愿望 of the new standard are to
- Make the language more uniform
/ˈjuːnəfɔːm $ -ɔːrm/ adj. 统一的 n. 制服and easier to teach and to learn - Make the standard libraies easier, safer, and more effcient to use
- Make it easier to write effcient abstractions and libraies
2011年,C++标准委员会发布了ISO C++标准的一项重大修订。该修订版是C++演进过程中的最新成果,延续了对程序员效率的高度重视。新标准的主要目标是:
- 使语言更统一,更易于教学和掌握
- 使标准库更简单、安全、高效
- 使编写高效抽象和库更便捷
In this edition, we have completely revised the C++ Primer to use the latest standard. You can get an idea of how extensively/ɪkˈstensɪv/ adv. 广泛的 the new has effected C++ by reviewing the New Fetures Table of Contents, which lists the sections that cover new material and appears on page xxi.
在这一版中,我们使用了最新的标准库完全重新编纂了 C++ Primer。通过浏览新特性目录(见第xxi页),您可以大致了解C++受到了多么广泛的影响,该目录列出了涵盖新内容的各个章节。
Some addititons/əˈdɪʃən/ 附加、新增 in the new standard, such as auto for type inference, are pervasive. These facilites/ˈfæsaɪl $ ˈfæsəl/ make the code in this edition easier to read and to understand.
新标准版的一些新增了很多东西,比如
auto类型描述,随处可见。这些新特性使得当前版本的代码更易于阅读并理解。