From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 818FD3858D32; Tue, 26 Dec 2023 13:39:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 818FD3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703597949; bh=G/NV9bAumU3gO6jsVC9pgx3UCrVc1fY/LWyHht9M1Gw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Yb+zn8bfEmoiMXgCH9yKCPYNGcyjv6kmjeFsk+kSDAbyKn6UC8kJ/91WqkFK7S4Bw 5GWtI5dlKyosyHl4n3mnRv57I5zNFln57XBoUBO0l99hjscwcWzh25ZfDI7HjXTxRR EOw3wUlYMkxuE06KFLF7oikZQu/8EIMRNiJRxGvs= From: "cooky.ykooc922 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/107761] Implement C++23 Date: Tue, 26 Dec 2023 13:39:07 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cooky.ykooc922 at gmail dot com 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=3D107761 --- Comment #7 from Desmond Gold --- Here's an updated version of the implementation with following changes: + followed coding style of GNU (maybe not all) + added initial implementation of std::submdspan facilities (without constraints and preconditions yet) + tweaked some of the problems in previous implementation https://godbolt.org/z/Mxs1YP8n7 summary + implemented c++23 + implemented c++26 std::submdspan facilities in + added c++23 feature (concepts only): '__tuple_like' and '__pair_like' to be used by '__mdspan::__index_pair_like' + added alias template '_Nth_type_t' which would supposedly be placed inside + still no documentations, incomplete preconditions and constraints, and incomplete tests=