Skip to content

Commit

Permalink
Update ex10_13.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooophy authored and pezy committed Jun 24, 2015
1 parent da577f5 commit 3de06c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ch10/ex10_13.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ int main()
{
auto v = std::vector<std::string>{ "a", "as", "aasss", "aaaaassaa", "aaaaaabba", "aaa" };
auto pivot = std::partition(v.begin(), v.end(), predicate);

for (auto it = v.cbegin(); it != pivot; ++it)
std::cout << *it << " ";
std::cout << std::endl;
Expand Down

0 comments on commit 3de06c7

Please sign in to comment.