Subject: [Boost-bugs] [Boost C++ Libraries] #13018: r-value overload for boost::get on boost::variant
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-08 14:11:19
#13018: r-value overload for boost::get on boost::variant
------------------------------+--------------------------
Reporter: dariomt@⦠| Owner: ebf
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: variant
Version: Boost 1.63.0 | Severity: Optimization
Keywords: |
------------------------------+--------------------------
As seen in the std docs
(http://en.cppreference.com/w/cpp/utility/variant/get), std::get for
variant provides r-value overloads.
I'm interested in having this overload in particular:
template<typename U, typename T1, typename T2, ..., typename TN>
U && get(variant<T1, T2, ..., TN> && operand);
Thanks in advance!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/13018> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-05-08 14:15:09 UTC