First page Back Continue Last page Graphics
COPY
copy(bottom.begin(), bottom.end(), back_inserter(ret));
3 iterators as arguments
- 1st - InputIterator SourceBeg
- 2nd - InputIterator SourceEnd
- 3rd - OutputIterator DestBeg
Copies all the elements in the range [begin,end) to a sequence of elements starting at destination begin.