
4 Sep
2009
4 Sep
'09
5:23 p.m.
"Aleksey Gurtovoy" <agurtovoy@meta-comm.com> wrote in message news:op.uzp57jgyccf1k7@wonderland.office.meta...
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.