MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / copy_n__

Function copy_n__

ibtk/contrib/boost/boost/multi_array/algorithm.hpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64template <class InputIter, class Size, class OutputIter>
65OutputIter copy_n__(InputIter first, Size count,
66 OutputIter result,
67 std::input_iterator_tag) {
68 for ( ; count > 0; --count) {
69 *result = *first;
70 ++first;
71 ++result;
72 }
73 return result;
74}
75
76template <class RAIter, class Size, class OutputIter>
77inline OutputIter

Callers 1

copy_nFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected