|
Boost : |
Subject: Re: [boost] [type_traits] optimized std::copy example wrong?
From: strasser_at_[hidden]
Date: 2010-04-24 11:55:49
Zitat von Thorsten Ottosen <nesotto_at_[hidden]>:
> Hi John & co,
>
> IIRC, std::copy() cannot use memcpy(), since the memory is allowed
> to overlap. Therefore it can only use memmove().
std::copy() doesn't allow overlapping ranges. -> std::copy_backward()
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk