From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 94D713858D33; Wed, 25 Jan 2023 11:21:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 94D713858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674645690; bh=YnyN1zMcw0Ws/gvgJdOqfKOtEBCNUQVN6sAgBqUmpss=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cFOfLVY5sk6aE7DJM5/V5xJrjscXp2Bm9QDGdmQ76CNhJotGlHR9srz6ReuAxHT+R FeoLEEnZI5JDFPhjKQ2vSxsgPW+zGbi0/r2lWd6/BHGH3NQ8L1PtzKbYe9glN0YC79 9XDLhd8ItOZWGFECuF8HDF2ku96fyoFh+8m0R3c4= From: "hr.jonas.hansen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108536] Difference when using requires and enable_if with class constructor Date: Wed, 25 Jan 2023 11:21:30 +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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hr.jonas.hansen 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=3D108536 --- Comment #2 from hr.jonas.hansen at gmail dot com --- I can see that, and that would work. But it really seems like a work-around= ? Is there a reason for the difference in behavior?=