value-2.cc
47 KB
-
PR c++/86521 - wrong overload resolution with ref-qualifiers. · c7e936db
Here we were wrongly treating binding a const lvalue ref to an xvalue as direct binding, which is wrong under [dcl.init.ref] and [over.match.ref]. * call.c (build_user_type_conversion_1): Don't use a conversion to a reference of the wrong rvalueness for direct binding. From-SVN: r269602
Jason Merrill committed