Boost C++ Libraries: Ticket #4112: [smart_ptr] BOOST_HAS_RVALUE_REFS vs BOOST_NO_RVALUE_REFERENCES https://svn.boost.org/trac10/ticket/4112 <p> The current version of smart_ptr enables its rvalue reference support based on the presence of BOOST_HAS_RVALUE_REFS. Should it be using BOOST_NO_RVALUE_REFERENCES instead? </p> <p> This is important because the MSVC config header never defines BOOST_HAS_RVALUE_REFS, only BOOST_NO_RVALUE_REFERENCES (on versions before VC10). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4112 Trac 1.4.3 Peter Dimov Sun, 18 Apr 2010 11:00:12 GMT <link>https://svn.boost.org/trac10/ticket/4112#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4112#comment:1</guid> <description> <p> To aid people who need to extract the minimal subset of Boost that allows them to use shared_ptr, the shared_ptr headers (aim to) support compilation with an empty boost/config.hpp. This unfortunately comes at odds with the recent decision to transition away from BOOST_HAS_* for C++0x features. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Wed, 21 Apr 2010 08:49:23 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4112#comment:2 https://svn.boost.org/trac10/ticket/4112#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61453" title="Update some of the C++0x tests so they don't catch &#34;fake&#34; ...">[61453]</a>) Update some of the C++0x tests so they don't catch "fake" implementations. Update config for VC10 accordingly. Normalise use of BOOST_HAS_RVALUE_REFS - fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4112" title="#4112: Bugs: [smart_ptr] BOOST_HAS_RVALUE_REFS vs BOOST_NO_RVALUE_REFERENCES (closed: fixed)">#4112</a>. </p> Ticket