Boost C++ Libraries: Ticket #13018: r-value overload for boost::get on boost::variant https://svn.boost.org/trac10/ticket/13018 <p> As seen in the std docs (<a class="ext-link" href="http://en.cppreference.com/w/cpp/utility/variant/get"><span class="icon">​</span>http://en.cppreference.com/w/cpp/utility/variant/get</a>), std::get for variant provides r-value overloads. </p> <p> I'm interested in having this overload in particular: </p> <p> template&lt;typename U, typename T1, typename T2, ..., typename TN&gt; </p> <blockquote> <p> U &amp;&amp; get(variant&lt;T1, T2, ..., TN&gt; &amp;&amp; operand); </p> </blockquote> <p> Thanks in advance! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13018 Trac 1.4.3 Antony Polukhin Tue, 09 May 2017 08:50:30 GMT owner, status changed https://svn.boost.org/trac10/ticket/13018#comment:1 https://svn.boost.org/trac10/ticket/13018#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> </ul> Ticket Antony Polukhin Wed, 31 May 2017 04:26:19 GMT milestone changed https://svn.boost.org/trac10/ticket/13018#comment:2 https://svn.boost.org/trac10/ticket/13018#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.65.0</span> </li> </ul> <p> Fixed by Albert Sverdlov in <a class="ext-link" href="https://github.com/boostorg/variant/commit/b108cfb82a0aa67355bb4c31b690d58fcd857452"><span class="icon">​</span>b108cfb8</a> in develop branch. Will be merged to the master as soon as the tests cycle. </p> Ticket Antony Polukhin Tue, 26 Sep 2017 18:09:13 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/13018#comment:3 https://svn.boost.org/trac10/ticket/13018#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> Ticket