Subject: Re: [boost] boost::mpl::for_each and value_initialized
From: Domagoj Saric (dsaritz_at_[hidden])
Date: 2010-02-07 15:21:12
"Niels Dekker - address until 2010-10-10"
<niels_address_until_2010-10-10_at_[hidden]> wrote in message
>> - MSVC bug #100744, despite being marked as "Closed, Won't Fix" ,
>> has actually been fixed in VC9 .
> I'm sorry, MSVC bug #100744 is still there, even though #335987 has been
> fixed. VC9 deals with POD types correctly, but may not do so for non-POD
> aggregate class types.
but if this is so, shouldn't the proposed patch atleast be modified to:
( _MSC_VER >= 1500 ) &&
( is_pod<T>::value )
std::memset(&x, 0, sizeof(x));
-- "That men do not learn very much from the lessons of history is the most important of all the lessons of history." Aldous Huxley
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk