Description
copy() copies one sequence of elements to another.
Declaration
template <class In, class Out> Out copy(In, In, Out);
Concept
The example program defines a vector of integers, and then copies the values into a vector<int> structure, inserting each in turn at the back.
Special Notes:
The input and output sequences may overlap. copy_backward() also copies, starting with the last element. This may be important if there are overlapping sequences and you wish to avoid the problem of overwriting elements that have not yet been copied.
Supported
Supported
Supported