Using std::copy() potentially makes available helpful checks in debug mode and can also lead to faster code by calling memcpy() in release mode. The <algorithm> header was already included.
Using std::copy() potentially makes available helpful checks in debug mode and can also lead to faster code by calling memcpy() in release mode. The <algorithm> header was already included.