https://bugs.documentfoundation.org/show_bug.cgi?id=163691

--- Comment #1 from Mike Kaganski <[email protected]> ---
Also, memmove (usable with overlapping memory) may be replaced with either
std::copy (when end of dest range is inside of source range, i.e. copying to
the left), or std::copy_backward (when start of dest range is inside of source
range, i.e. copying to the right).

Note also, that e.g. cppreference states, that "implementations of std::copy
... use bulk copy functions such as std::memmove", so not perfectly identical
to memcpy, which can't work on overlapping ranges, but is most efficient.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to