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

Function advance

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

Source from the content-addressed store, hash-verified

114
115 template<class InputIterator, class Distance>
116 void advance(InputIterator& it, Distance n)
117 {
118 for (Distance i = Distance{}; i < n; ++i)
119 ++it;
120 }
121
122 template<class InputIterator>
123 typename iterator_traits<InputIterator>::difference_type

Callers 3

test_modifiersMethod · 0.85
nextFunction · 0.85
prevFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_modifiersMethod · 0.68