Boost logo

Boost :

Subject: [boost] [type_traits] optimized std::copy example wrong?
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2010-04-24 11:35:38


Hi John & co,

IIRC, std::copy() cannot use memcpy(), since the memory is allowed to
overlap. Therefore it can only use memmove().

regards

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk