MCPcopy Create free account
hub / github.com/HelenOS/helenos / prev

Function prev

uspace/lib/cpp/include/__bits/iterator.hpp:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153 template<class BidirectionalIterator>
154 BidirectionalIterator
155 prev(BidirectionalIterator it,
156 typename iterator_traits<BidirectionalIterator>::difference_type n = 1)
157 {
158 advance(it, -n);
159
160 return it;
161 }
162
163 /**
164 * 24.5.1, reverse iterator:

Callers

nothing calls this directly

Calls 1

advanceFunction · 0.85

Tested by

no test coverage detected