J
JDT
Hi,
I have the following two arrays (which is just a simplified example):
const int nSize = 5;
int x[nSize], y[nSize];
Is the following code has any side effect? In other words, is it one of
the right ways using std::copy? Thanks for any advise.
std::copy(x, x+nSize, y);
JD
I have the following two arrays (which is just a simplified example):
const int nSize = 5;
int x[nSize], y[nSize];
Is the following code has any side effect? In other words, is it one of
the right ways using std::copy? Thanks for any advise.
std::copy(x, x+nSize, y);
JD