Boost logo

Boost :

Subject: Re: [boost] boost::mpl::for_each and value_initialized
From: Peter Foelsche (peter_foelsche_at_[hidden])
Date: 2009-09-04 13:23:19

"Aleksey Gurtovoy" <agurtovoy_at_[hidden]> wrote in message

> Could you verify whether the gcc will optimize away the rest of the
> value_initialized magic if the memset is out?

Ok -- I removed memset from value_initialized and I restored for_each.hpp to
is original state.
Now gcc 4.4.1 with optimization also does not create any (assembler) code
for the initialization of this anyway not used parameter.

Boost list run by bdawes at, gregod at, cpdaniel at, john at