https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87150
--- Comment #3 from Stephan Bergmann <sbergman at redhat dot com> --- (In reply to Jakub Jelinek from comment #2) > This changed with r251035 aka PR80452 aka C++ Core issue 1579. > So, is this really invalid? but CWG1579 didn't change the "if the type of the first parameter of the selected constructor is not an rvalue reference to the object’s type (possibly cv-qualified), overload resolution is performed again, considering the object as an lvalue." part