《C++ 标准库》读书笔记

1. History of the C++ Standards

1.1 History of the C++ Standards

C++98 -> C++03 -> TR1 -> C++11 -> C++14(书中没有,貌似是最新标准)

1.2 Common Questions about the C++11 Standard

1. 不同组件有不同的设计思想:

  String - 安全

  STL - 不安全

1.3 Compatibility between C++98 and C++11

1. 可通过定义宏

1 #define __cplusplus 201103L

使在编译不同版本的C++程序时引入C++11的新特性

2. 用C++11的编译器编译包括库在内的C++98程序通常是没问题的,但是使用C++11连接已经用C++98编译好的库可能会失败

2. Complexity and Big-O Notation

原文地址:https://www.cnblogs.com/Azurewing/p/4309156.html