From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 491383858420; Fri, 17 Sep 2021 01:39:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 491383858420 From: "hewillk at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier Date: Fri, 17 Sep 2021 01:39:57 +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: 12.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: hewillk at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.4 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: Fri, 17 Sep 2021 01:39:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102270 --- Comment #4 from =E5=BA=B7=E6=A1=93=E7=91=8B = --- (In reply to CVS Commits from comment #3) > The master branch has been updated by Jonathan Wakely : >=20 > https://gcc.gnu.org/g:734b2c2eedca50d966e22540fc136158c3633393 >=20 > commit r12-3592-g734b2c2eedca50d966e22540fc136158c3633393 > Author: Jonathan Wakely > Date: Wed Sep 15 21:53:35 2021 +0100 >=20 > libstdc++: Add missing 'constexpr' to std::tuple [PR102270] >=20=20=20=20=20 > Signed-off-by: Jonathan Wakely >=20=20=20=20=20 > libstdc++-v3/ChangeLog: >=20=20=20=20=20 > PR libstdc++/102270 > * include/std/tuple (_Head_base, _Tuple_impl): Add > _GLIBCXX20_CONSTEXPR to allocator-extended constructors. > (tuple<>::swap(tuple&)): Add _GLIBCXX20_CONSTEXPR. > * testsuite/20_util/tuple/cons/102270.C: New test. tuple#L332: template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, const _Head& __head, const _Tail&... __tail) : _Inherited(__tag, __a, __tail...), _Base(__use_alloc<_Head, _Alloc, _Head>(__a), __head) { }=