Skip to content

Commit 52c628a

Browse files
authored
resolve changkun#3, 修正 unorder_map 笔误
1 parent 838d30e commit 52c628a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/4-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ std::sort(arr.begin(), arr.end());
7070

7171
C++11 引入了两组无序容器:`std::unordered_map`/`std::unordered_multimap``std::unordered_set`/`std::unordered_multiset`
7272

73-
它们的用法和原有的 `std::map`/`std::multimap`/`std::set`/`set::multiset` 基本类似,由于这些容器我们已经很熟悉了,便不一一举例,我们直接来比较一下`std::map``std::multimap`
73+
它们的用法和原有的 `std::map`/`std::multimap`/`std::set`/`set::multiset` 基本类似,由于这些容器我们已经很熟悉了,便不一一举例,我们直接来比较一下`std::map``std::unorder_map`
7474

7575
```cpp
7676
#include <iostream>
@@ -248,4 +248,4 @@ std::cout << tuple_index(i, new_tuple) << std::endl;
248248

249249
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/80x15.png" /></a>
250250

251-
本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../LICENSE)
251+
本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../LICENSE)

0 commit comments

Comments
 (0)