Skip to content

Commit

Permalink
Merge pull request pezy#100 from SaeronMeng/patch-1
Browse files Browse the repository at this point in the history
Update ex10_34_35_36_37.cpp
  • Loading branch information
pezy authored Jan 13, 2017
2 parents e6adca3 + f10c2d8 commit 4e611e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch10/ex10_34_35_36_37.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ inline void r_print(const std::vector<std::string>& v)
//! Exercise 10.35
inline void r_withOrdinary_print(const std::vector<std::string>& v)
{
for (auto iter = v.rbegin(); iter != v.rend(); ++iter)
std::cout << *iter << " ";
for (auto iter = v.end(); iter != v.begin();)
std::cout << *--iter << " ";
}

//! Exercise 10.36
Expand Down

0 comments on commit 4e611e6

Please sign in to comment.