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

Function copy

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

Source from the content-addressed store, hash-verified

350
351 template<class InputIterator, class OutputIterator>
352 OutputIterator copy(InputIterator first, InputIterator last, OutputIterator result)
353 {
354 while (first != last)
355 *result++ = *first++;
356
357 return result;
358 }
359
360 template<class InputIterator, class Size, class OutputIterator>
361 OutputIterator copy_n(InputIterator first, Size count, OutputIterator result)

Callers 8

test_mutatingMethod · 0.85
basic_stringClass · 0.85
init_Method · 0.85
insertMethod · 0.85
eraseMethod · 0.85
shift_Method · 0.85
eraseMethod · 0.85
shift_left_Method · 0.85

Calls

no outgoing calls

Tested by 1

test_mutatingMethod · 0.68