Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ for_each
Function
for_each
uspace/lib/cpp/include/__bits/algorithm.hpp:91–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
90
template<class InputIterator, class Function>
91
Function for_each(InputIterator first, InputIterator last, Function f)
92
{
93
while (first != last)
94
f(*first++);
95
96
return move(f);
97
}
98
99
/**
100
* 25.2.5, find:
Callers
1
test_non_modifying
Method · 0.85
Calls
1
move
Function · 0.85
Tested by
1
test_non_modifying
Method · 0.68