mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 20:54:39 +03:00
book: fix a minor typo (#83)
This commit is contained in:
@@ -575,7 +575,7 @@ extern template class std::vector<double>; // 不在该当前编译文件中实
|
||||
std::vector<std::vector<int>> matrix;
|
||||
```
|
||||
|
||||
这在传统C++编译器下是不能够被编译的,而 C++11 开始,连续的右尖括号将变得合法,并且能够顺利通过编译。甚至于下下面这种写法都能够通过编译:
|
||||
这在传统C++编译器下是不能够被编译的,而 C++11 开始,连续的右尖括号将变得合法,并且能够顺利通过编译。甚至于像下面这种写法都能够通过编译:
|
||||
|
||||
```cpp
|
||||
template<bool T>
|
||||
|
||||
Reference in New Issue
Block a user