Subject: [Boost-bugs] [Boost C++ Libraries] #10273: Documentation on Boost.Variant optimizations is out-of-date
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-29 21:08:04
#10273: Documentation on Boost.Variant optimizations is out-of-date
-------------------------------------+------------------------
Reporter: David Sankel <camior@â¦> | Owner: ebf
Type: Bugs | Status: new
Milestone: To Be Determined | Component: variant
Version: Boost 1.55.0 | Severity: Regression
Keywords: |
-------------------------------------+------------------------
In the 'Enabling Optimizations' section of
http://www.boost.org/doc/libs/1_55_0/doc/html/variant/design.html it
mentions that "On most platforms, the Type Traits templates
has_nothrow_copy and has_nothrow_constructor by default return false for
all class and struct types." This is no longer true.
The documentation for those traits in the type traits library says
'Currently (May 2011) compilers more recent than Visual C++ 8, GCC-4.3,
Greenhills 6.0, Intel-11.0, and Codegear have the necessary compiler
intrinsics to ensure that this trait "just works".'
The Boost.Variant documentation should not indicate a need to explicitly
override these functions to get the optimizations.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10273> 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:16 UTC