$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2003-08-25 12:48:31
"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> writes:
> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:ud6etlwt0.fsf_at_boost-consulting.com...
>> "Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> writes:
>>
>> > Type traits library may be extended with:
>> > - memcpy_copyable<> and
>> > - memcpy_moveable<>
>>
>> see boost::is_POD.
>>
> memcpy_moveable<> may be useful for non-POD types, like some pimpls.
I don't believe you can use memcpy to move any non-POD types portably,
i.e. without special knowledge of the compiler.
-- Dave Abrahams Boost Consulting www.boost-consulting.com