Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ch10/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ auto f = [x](int i) { i + x; };
* reverse 需要**双向迭代器**
* unique需要**随机访问迭代器**

//这个显然是错误的,list是支持unique算法的,但是list的迭代器是双向迭代器,若unique是要求随机访问迭代器的算法怎么可能支持list呢?通过微软的STL详细代码可以知道unique的参数类型是_FwdIt(前向迭代器)
练习10.41

## 练习10.41

> 仅根据算法和参数的名字,描述下面每个标准库算法执行什么操作:
Expand Down