Boost C++ Libraries: Ticket #10273: Documentation on Boost.Variant optimizations is out-of-date https://svn.boost.org/trac10/ticket/10273 <p> In the 'Enabling Optimizations' section of <a href="http://www.boost.org/doc/libs/1_55_0/doc/html/variant/design.html">http://www.boost.org/doc/libs/1_55_0/doc/html/variant/design.html</a> 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. </p> <p> 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".' </p> <p> The Boost.Variant documentation should not indicate a need to explicitly override these functions to get the optimizations. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10273 Trac 1.4.3 Antony Polukhin Tue, 02 Dec 2014 16:17:45 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/10273#comment:1 https://svn.boost.org/trac10/ticket/10273#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">ebf</span> to <span class="trac-author">Antony Polukhin</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> </ul> <p> <a class="ext-link" href="https://github.com/boostorg/variant/commit/adb3d5c9bbc0ae147338fa63e7a4ed62656339fd"><span class="icon">​</span>Fixed</a> in develop branch. </p> Ticket Antony Polukhin Mon, 09 Mar 2015 11:54:26 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10273#comment:2 https://svn.boost.org/trac10/ticket/10273#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket