Boost C++ Libraries: Ticket #3804: adapt rvalue references https://svn.boost.org/trac10/ticket/3804 <p> Boost.<a class="missing wiki">TypeTraits</a>, in particular the reference modification metafunctions, does not support rvalue references. </p> <p> this assert fails with gcc 4.4/-std=c++0x: static_assert(std::is_same&lt;boost::remove_reference&lt;int&amp;&amp;&gt;::type,int&gt;::value,""); </p> <p> In my opinion, add_lvalue_reference and add_rvalue_reference should be added to keep Boost.<a class="missing wiki">TypeTraits</a> conform to c++0x's type traits library (n3000/20.6) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3804 Trac 1.4.3 John Maddock Thu, 04 Feb 2010 18:02:58 GMT status changed https://svn.boost.org/trac10/ticket/3804#comment:1 https://svn.boost.org/trac10/ticket/3804#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket anonymous Sat, 05 Jun 2010 12:59:12 GMT <link>https://svn.boost.org/trac10/ticket/3804#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3804#comment:2</guid> <description> <p> This piece of code fails on VC10 as well: </p> <p> #include &lt;boost/type_traits/remove_const.hpp&gt; int main() { </p> <blockquote> <p> boost::remove_const&lt;int&amp;&amp;&gt;::type c; </p> </blockquote> <p> } </p> <p> remove_const.hpp(52): error C2528: 'abstract declarator' : pointer to reference is illegal ... </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 01 Jul 2010 16:14:19 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3804#comment:3 https://svn.boost.org/trac10/ticket/3804#comment:3 <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> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/63487" title="Update docs to match code. Update type_traits.hpp. Completes fix for ...">[63487]</a>) Update docs to match code. Update type_traits.hpp. Completes fix for <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3804" title="#3804: Feature Requests: adapt rvalue references (closed: fixed)">#3804</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3804" title="#3804: Feature Requests: adapt rvalue references (closed: fixed)">#3804</a>. </p> Ticket