Update README.md

This commit is contained in:
Francis 2020-08-22 11:05:48 +08:00 committed by GitHub
parent 9bd5127cb0
commit ccf8808cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ C++2.0 是一个简称,意为「现代 C++」,包括 C++11/14/17/20。
#### 3.1 [C++11 新特性](./c++2.0/c++11)
- [Variadic Templates](./c++2.0/variadic)
- [Variadic Templates](./c++2.0/c++11/variadic)
- Spaces in Template Expressions
@ -158,17 +158,17 @@ C++2.0 是一个简称,意为「现代 C++」,包括 C++11/14/17/20。
vector<list<int>> // before c++ 11 error error: >> should be > > within a nested template argument list,c++11后可以正常通过
```
- [nullptr and nullptr_t](./c++2.0/nullptr.cpp)
- [nullptr and nullptr_t](./c++2.0/c++11/nullptr.cpp)
- [Automatic Type Deduction with auto](./c++2.0/auto.cpp)
- [Automatic Type Deduction with auto](./c++2.0/c++11/auto.cpp)
- [Uniform Initialization ](./c++2.0/uniform_initialization.cpp)
- [Uniform Initialization ](./c++2.0/c++11/uniform_initialization.cpp)
- [initializer_list](./c++2.0/initializer.cpp)
- [initializer_list](./c++2.0/c++11/initializer.cpp)
- [explicit for ctors taking more than one argument](./c++2.0/explicit.cpp)
- [explicit for ctors taking more than one argument](./c++2.0/c++11/explicit.cpp)
- [range-based for statement](./c++2.0/auto.cpp)
- [range-based for statement](./c++2.0/c++11/auto.cpp)
```cpp
for(decl:col) {
@ -176,33 +176,33 @@ C++2.0 是一个简称,意为「现代 C++」,包括 C++11/14/17/20。
}
```
- [=default,=delete](./c++2.0/default_delete.cpp)
- [=default,=delete](./c++2.0/c++11/default_delete.cpp)
如果你自行定义了一个 ctor,那么编译器就不会给你一个 default ctor
如果强制加上 =default,就可以重新获得并使用 default ctor.
- Alias(化名)Template(template typedef)
- [alias.cpp](./c++2.0/alias.cpp)
- [template_template.cpp](./c++2.0/template_template.cpp)
- [alias.cpp](./c++2.0/c++11/alias.cpp)
- [template_template.cpp](./c++2.0/c++11/template_template.cpp)
- [template template parameter](./c++2.0/template_template.cpp)
- [type alias](./c++2.0/type_alias.cpp)
- [type alias](./c++2.0/c++11/type_alias.cpp)
- [noexcept](./c++2.0/noexcept.cpp)
- [noexcept](./c++2.0/c++11/noexcept.cpp)
- [override](./c++2.0/override.cpp)
- [override](./c++2.0/c++11/override.cpp)
- [final](./c++2.0/final.cpp)
- [final](./c++2.0/c++11/final.cpp)
- [decltype](./c++2.0/decltype.cpp)
- [decltype](./c++2.0/c++11/decltype.cpp)
- [lambda](./c++2.0/lambda.cpp)
- [lambda](./c++2.0/c++11/lambda.cpp)
- [Rvalue reference](./c++2.0/rvalue.cpp)
- [Rvalue reference](./c++2.0/c++11/rvalue.cpp)
- [move aware class](./c++2.0/move.cpp)
- [move aware class](./c++2.0/c++11/move.cpp)
- 容器-结构与分类
@ -210,9 +210,9 @@ C++2.0 是一个简称,意为「现代 C++」,包括 C++11/14/17/20。
- (2) 关联式容器包括:`set/multiset`,`map/multimap`
- (3) 无序容器(C++2.0 新引入,更换原先 `hash_xxx``unordered_xxx`)包括:`unordered_map/unordered_multimap,unordered_set/unordered_multiset`
- [Hash Function](./c++2.0/hash.cpp)
- [Hash Function](./c++2.0/c++11/hash.cpp)
- [tuple](./c++2.0/tuple.cpp)
- [tuple](./c++2.0c++11//tuple.cpp)
学习资料https://www.bilibili.com/video/av51863195?from=search&seid=3610634846288253061