From patchwork Thu Jan 18 10:44:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 84333 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CE61A3857707 for ; Thu, 18 Jan 2024 10:45:15 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 4E2673858C31 for ; Thu, 18 Jan 2024 10:44:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4E2673858C31 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4E2673858C31 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705574683; cv=none; b=O1qUwjOV1pOrqdFUDVOdrppcKLQ4PCvrf7DlOW0XPk3RMTCwyapRltBwZHR/4vgU7HLO75f6KBTZ6NCMHOyxeVwwl38iSTQJdK/fI/mg7fgYZmRKmN0mM1n/Vsyo+8IkTHRfDG5lN7ZRFCyphwHodKjk9YZhcWg9GXTvQJ8CJBs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705574683; c=relaxed/simple; bh=kSHD+naA2okwPG2n71D/417xMC1zz7CWinXH2+LTPuQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=r14gDrooVsCqTmy6WmyAx50huQ8DrhFI7JmO12NIiKlKJNLKi2TWtmUds1DJvSzfi6uiXqXSnzrDyaZrhFUl21FYCNkwqMEN1VzKBFbIRWqBfkMLo7VFC+/BMJsVB9JA1II7asywCudMd5ARoU3on2KxQHHCOd1w+g0/xCuahdw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705574681; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VnLv+TIvgBGfXbBJgeUlrhix2/NHWD3fCa9bkDX0Uo4=; b=LNT8sMajHk6av1m3IRG/58U3nxfZTJRUTjuYPdW+9uvqB3Y4tS/URn/WECRQSiGPS5S/Sh Gv8AEn8P9WlbKcmH+uwzAjcgGTXA2DOk1vBdLETuQtxDkRjOsY/6tgi0WvDtsOf00Iz2MO C6L23Z8Tjhm0uCvO++2A1nz5S5SYmLY= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-125-ZBl5SS8oNSuIvnjAB8i6ZA-1; Thu, 18 Jan 2024 05:44:39 -0500 X-MC-Unique: ZBl5SS8oNSuIvnjAB8i6ZA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 57220282D3E5; Thu, 18 Jan 2024 10:44:39 +0000 (UTC) Received: from localhost (unknown [10.42.28.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 240CD492BC6; Thu, 18 Jan 2024 10:44:39 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [wwwdocs] Document new additions to libstdc++ Date: Thu, 18 Jan 2024 10:44:30 +0000 Message-ID: <20240118104438.80330-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Pushed to wwwdocs. -- >8 -- std::generator, std::format improvements, std::text_encoding. --- htdocs/gcc-14/changes.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 5644de1e..951d005b 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -245,6 +245,7 @@ a work-in-progress.

  • Improved experimental support for C++20, including:
    • std::chrono::parse.
    • +
    • Unicode-aware string handling in std::format.
  • Improved experimental support for C++23, including: @@ -252,6 +253,9 @@ a work-in-progress.

  • The std::ranges::to function for converting ranges to containers.
  • +
  • The std::generator view for getting results from + coroutines. +
  • The <stacktrace> header is supported by default.
  • std::print and std::println @@ -272,7 +276,13 @@ a work-in-progress.

  • Functions for saturation arithmetic on integers.
  • std::to_string now uses std::format.
  • Enhanced formatting of pointers with std::format.
  • +
  • The std::runtime_format function to allow using + non-literal format strings with std::format.
  • Testable result types for <charconv> functions.
  • +
  • The std::text_encoding class for identifying character + sets (requires linking with -lstdc++exp for some member + functions). +
  • Faster numeric conversions using std::to_string and