8 May
2017
8 May
'17
10:57 a.m.
2017-05-04 19:40 GMT+03:00 dariomt--- via Boost-users
As seen in the std docs [1], std::get for variant provides r-value overloads.
Does Boost.Variant have them?
I'm interested in having this overload in particular:
template
U && get(variant && operand);
Nope, this overload is missing. Please fill a feature request here https://svn.boost.org/trac/boost/newticket (do not forget to correctly specify the component, or the request will be lost for some time). Or even make a pull request here https://github.com/boostorg/variant if you fell yourself confident and wish to see your name in the Boost's changelog for the next release ;) -- Best regards, Antony Polukhin