Namely, thrust::copy cannot be used to copy overlapping ranges such as
int A[10];
A[0..8] <- A[1..9];
In contrast, std::copy does permit overlapping ranges [1]. Similarly,
std::copy_backward allows the result range to overlap on the right.
[1] http://www.sgi.com/tech/stl/copy.html
[2] http://www.sgi.com/tech/stl/copy_backward.html
Original issue reported on code.google.com by wnbell on 13 Jul 2010 at 6:22
Original issue reported on code.google.com by
wnbell
on 13 Jul 2010 at 6:22