From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 126613853D0F; Sat, 22 Jul 2023 01:17:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 126613853D0F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689988636; bh=dhTRbm/vVeITrRszHGQfWBK/ifodbcNCU7R83RvdUuk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UIjEL8I9buyTpkzI0Rkp362E+ayM1xp/AwKnF/tbko84L66tZPIxWV0BQ8HHO3Iyv T+qoYoK61dU2MrT2frZ/8iPPlcpHXGnZ6suEmG3QsvO52IDlHE7zAMVW6RiYaBKnln Zy3cBkIOJJPHozAxUUPVpCzOan6PVEFw3PTx9QNk= From: "bbi5291 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110774] Ambiguous partial ordering with non-dependent function parameter type and nullptr Date: Sat, 22 Jul 2023 01:17:15 +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: 13.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: bbi5291 at gmail dot com 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110774 --- Comment #5 from Brian Bi --- Partial ordering is different from partial specialization. Partial ordering selects a best viable function in certain cases where two viable functions = are both instantiated from templates.=