The C++ Standard Library (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握C++语法、需要系统掌握标准库的中级开发者
- 日常写C++项目,需要一本可随时查阅的案头参考书的工程师
- 从C++98/03迁移到C++11,想理清move语义、lambda等变化的老手
- 准备面试或技术考核,需要吃透STL容器、算法、迭代器细节的求职者
- 高校C++相关课程中需要扩展阅读材料的学生
Not a good fit for
- 完全没写过C++、需要从变量和循环开始学的零基础读者
- 只想快速做一个小demo,不打算深入理解标准库语义的人
- 主攻C++17/20/23新特性、想要一本覆盖最新标准的读者
Reading tips
- 先读第1—3章建立C++11语言新特性的全局认识,再按需跳读STL各章。
- 把它当手册:写代码遇到容器、算法、并发问题时按索引定向查阅,而不是通读。
- 亲手敲一遍书中的关键示例并改动参数观察行为,尤其留意各组件标注的陷阱与复杂度。
- 对照cppreference等在线文档同步更新,明确本书只覆盖到C++11这一范围。
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- Preface to the Second Edition
- Preface to the Second Edition
- Acknowledgments for the Second Edition
- Preface to the First Edition
- Acknowledgments for the First Edition
- 1 About This Book
- 1.1 Origins
- 1.2 Prerequisites for Reading
- 1.3 Style and Structure of the Book
- 1.4 How to Read This Book
- 1.5 Current State of Affairs
- 1.6 Example Code and Additional Information
- 1.7 Feedback
- 2 Introduction to C++ and the Standard Library
- 2.1 History of the C++ Standard
- 2.1.1 Common Questions about the C++11 Standard
- 2.1.2 Compatibility between C++98 and C++11
- 2.2 Complexity and Big-O Notation
- 3 New Language Features
- 3.1 New C++11 Language Features
- 3.1.1 Minor but Important Syntax Improvements
- 3.1.2 Automatic Type Deduction with auto
- 3.1.3 Uniform Initialization and Initializer Lists
- 3.1.4 Range-Based for Loops
- 3.1.5 Move Semantics and Rvalue References
- 3.1.6 New String Literals
- 3.1.7 The noexcept Keyword
- 3.1.8 The constexpr Keyword
- 3.1.9 Brand-New Template Features
- 3.1.10 Lambda
- 3.1.11 The decltype Keyword
- 3.1.12 New Function Declaration Syntax
- 3.1.13 Scoped Enumerations
- 3.1.14 New Fundamental Data Types
- 3.2 Old but Still New Language Features
- 3.2.1 Explicit Initialization for Fundamental Types
- 3.2.2 Definition of main()
- 4 General Concepts
- 5 General Utilities
- 6 The Standard Template Library
FAQ
这本书适合C++初学者吗?
第2版与第1版有什么区别?
本书覆盖到哪个C++标准?
中文版由谁翻译,质量如何?
这本书需要按顺序读完吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.