Skip to content

Commit

Permalink
Fixed pezy#99
Browse files Browse the repository at this point in the history
  • Loading branch information
pezy authored Jan 12, 2017
1 parent 397ff8b commit e6adca3
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 it = std::prev(v.cend()); it != std::prev(v.cbegin()); --it)
std::cout << *it << " ";
for (auto iter = v.rbegin(); iter != v.rend(); ++iter)
std::cout << *iter << " ";
}

//! Exercise 10.36
Expand Down

0 comments on commit e6adca3

Please sign in to comment.