Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<class InIter, class OutIter>
- 2
- OutIter reverse_copy(InIter first, InIter last, OutIter out)
- 3
- {
- 4
- while (first != last)
- 5
- *(out++) = *(--last);
- 6
- return out;
- 7
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement