Implement LWG2993, reference_wrapper<T> conversion from T&&.
The currently failing test is due to https://bugs.llvm.org/show_bug.cgi?id=35332.
Differential D40259
[libcxx] LWG2993: reference_wrapper<T> conversion from T&& ldionne on Nov 20 2017, 10:24 AM. Authored by
Details
Implement LWG2993, reference_wrapper<T> conversion from T&&. The currently failing test is due to https://bugs.llvm.org/show_bug.cgi?id=35332.
Diff Detail Event TimelineComment Actions I would much rather take this change in all dialects except for C++03.
Comment Actions LGTM after addressing inline comments. Do you have commit access? If not, I'll commit once updated.
Comment Actions Please be sure to update www/cxx2a_status.html to mark 2993 as "Complete". Comment Actions Did this ever get landed? If not, was there a reason? |
I'd make these member functions of a class template, to avoid having to reason about partial ordering in overload resolution.