Opened 8 years ago
Closed 8 years ago
#10273 closed Bugs (fixed)
Documentation on Boost.Variant optimizations is out-of-date
Reported by: | Owned by: | Antony Polukhin | |
---|---|---|---|
Milestone: | Boost 1.58.0 | Component: | variant |
Version: | Boost 1.55.0 | Severity: | Regression |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 by , 8 years ago
Milestone: | To Be Determined → Boost 1.58.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in develop branch.