Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3869: Unconditional call to memset in value_initialized()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-16 12:01:50
#3869: Unconditional call to memset in value_initialized()
--------------------------+-------------------------------------------------
Reporter: agurtovoy | Owner: niels_dekker
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: utility
Version: Boost 1.41.0 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
Comment(by niels_dekker):
The
[https://svn.boost.org/trac/boost/attachment/ticket/3869/value_init_workaround.patch
value_init_workaround.patch] I just attached should resolve this ticket.
It assumes that the defect macro BOOST_NO_COMPLETE_VALUE_INITIALIZATION is
defined for those compilers that need it (ticket #4080). Note that it adds
an extra macro, BOOST_DETAIL_VALUE_INIT_WORKAROUND (defined as either 0 or
1), which controls whether the memset workaround is applied. This macro is
merely intended as an implementation detail: I would like to have an extra
test which toggles the value of the macro, in order to check if the
workaround is both effective and necessary.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3869#comment:5> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC