void copy(double* first, double* last, double* dest);
Copies the elements in [first, last) to [dest, dest + (last - first)).
Parameters:
first | Beginning iterator for the container of elements. |
---|---|
last | Ending iterator for the container of elements. |
dest | Beginning iterator for the destination array. |
Usage:
double s[5] = {1, 3, 56, 3, 512};
double d[5] = {1, 3, 56, 3, 512};
copy(s, s + 5, d);
Header:
#include "datamanp.h"