llvm-6502/include
Alkis Evlogimenos bc79471be1 Add next() and prior() iterator utility functions. Unlike std::advance
they do not modify the passed iterator but return a copy.

next(myIt) returns copy of myIt incremented once
next(myIt, n) returns copy of myIt incremented n times
prior(myIt) returns copy of myIt decremented once
prior(myIt, n) returns copy of myIt decremented n times

While at it remove obsolete implementation of mapped_iterator.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11429 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 01:17:28 +00:00
..
boost This works with GCC 3.4 also 2003-11-05 01:31:12 +00:00
Config Regenerated using autoconf-2.57 and autoheader-2.57. 2004-01-21 19:39:29 +00:00
llvm Add next() and prior() iterator utility functions. Unlike std::advance 2004-02-14 01:17:28 +00:00
Support Add next() and prior() iterator utility functions. Unlike std::advance 2004-02-14 01:17:28 +00:00