https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91212
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Jason Merrill from comment #5) > I think this is a bug in pre-P1825R0 handling of the restriction that the > first overload resolution fails "if the type of the first parameter of the > selected constructor is not an rvalue reference to the object's type > (possibly cv-qualified)". > > But that restriction was removed by P1825R0, and I think this demonstrates a > problem with that. > > Testing a patch. Will this resolve bug 91427 too? Sorry, still assigned to me...