Opened 8 years ago

Closed 8 years ago

#10273 closed Bugs (fixed)

Documentation on Boost.Variant optimizations is out-of-date

Reported by: David Sankel <camior@…> 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 Antony Polukhin, 8 years ago

Milestone: To Be DeterminedBoost 1.58.0
Owner: changed from ebf to Antony Polukhin
Status: newassigned

Fixed in develop branch.

comment:2 by Antony Polukhin, 8 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.