From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D19733857711; Fri, 26 May 2023 18:02:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D19733857711 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685124120; bh=hPbQ0dmoUdrT0nKBKxi+a/fiocRJU7sgyM1KwwUJ09w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jMGyPT2/MwHLZV/+EPpzKCTNh8NY4yRA4E8jPcmvr0JI6HYdQPAYIgcZFbU/ja1L8 3LcLVO9bhOszF2L4FMvjbeszgp79REpSPELKzX2B9VSR8/dHefASlsEJmLBgooaSQs KOGn9aljFV82XjzkSI6C3SZ2Ql7036HhU7FS0hdU= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71579] type_traits miss checks for type completeness in some traits Date: Fri, 26 May 2023 18:01:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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=3D71579 --- Comment #25 from Jonathan Wakely --- Some missing completeness checks: std::assignable We don't enforce precondition that both types are complete types, cv void, = or arrays of unknown bound. Filed as PR c++/109997 std::common_type Our impl is SFINAE-friendly, but the standard has a precondition that all t= ypes in the pack are complete, cv void, or array of unknown bound.=