From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3073E384B010; Wed, 19 Aug 2020 06:44:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3073E384B010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597819470; bh=E5P0il5H0DFFrQuXVk5p9DCkTbrYzs40sVGTBgklV1c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uU6/zoQ/Y4RYCmNUsIP/X17oFeAUYDBSHaOHdm1XweQjHlMijRKceP8iTim07TqeT oU4YFZFAFJ7baCBOSGC9oJb8WJ6qg+MWKOt6nCMWOJVLxfXad7hw0dexJ+5scxol0f MJKZjWZcOAX5+iDBED5Cpn3+vpcXKpSPpBMqJrlo= From: "karzh at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83445] conversion function has too high priority in overload resolution Date: Wed, 19 Aug 2020 06:44:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: karzh at mail dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2020 06:44:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83445 --- Comment #5 from Alexander Karzhenkov --- Also note that const-qualifier on `Source::operator Target()` affects the conversion sequence (see https://godbolt.org/z/MexGW9). This seems inconsis= tent here.=