Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooophy authored Jul 23, 2019
1 parent 362deb8 commit 9c37712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch09/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ two iterators, `begin` and `end`:
>Write a function that takes a pair of iterators to a vector<int> and an int value. Look for that value in the range and return a bool indicating whether it was found.
```cpp
auto contains(vector<int>::const_iterator first, vector<int>::const_iterator last, int value)
bool contains(vector<int>::const_iterator first, vector<int>::const_iterator last, int value)
{
for(; first != last; ++first)
if(*first == value) return true;
Expand Down

0 comments on commit 9c37712

Please sign in to comment.