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

Function transform

uspace/lib/cpp/include/__bits/algorithm.hpp:441–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439
440 template<class InputIterator, class OutputIterator, class UnaryOperation>
441 OutputIterator transform(InputIterator first, InputIterator last,
442 OutputIterator result, UnaryOperation op)
443 {
444 while (first != last)
445 *result++ = op(*first++);
446
447 return result;
448 }
449
450 template<class InputIterator1, class InputIterator2,
451 class OutputIterator, class BinaryOperation>

Callers 1

test_mutatingMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_mutatingMethod · 0.68