Boost logo

Boost :

Subject: Re: [boost] boost::mpl::for_each and value_initialized
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2010-01-27 21:01:32


On Tue, 26 Jan 2010 09:27:40 -0600, Niels Dekker - address until
2010-10-10 <niels_address_until_2010-10-10_at_[hidden]> wrote:

>>> Anyway, I wouldn't mind if the memset call in utility/value_init.hpp
>>> would become conditional, for example as follows:
>>>
>>> #ifdef BOOST_VALUE_INITIALIZATION_NEEDS_MEMSET
>>> std::memset(&x, 0, sizeof(x));
>>> #endif
>
> Fernando (the author of value_init) mailed me that it's okay to him if I
> add an #ifdef like that to utility/value_init.hpp. Still I think it
> would be useful to have the issue officially reported. Aleksey, were you
> already planning to open a ticket on this issue? If so, please do! And
> please feel free to assign the ticket to niels_dekker :-)

Done: https://svn.boost.org/trac/boost/ticket/3869

Thanks,

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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