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: 189174 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp290789dyb; Thu, 18 Jan 2024 04:05:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsb97+sU8Td2uMv0W8BWACPz6liFDg0BcTRN99GUNfy5c2w7kNkcF/30D6VMfuMZOQmtiS X-Received: by 2002:ac8:574b:0:b0:429:c4fc:a7d0 with SMTP id 11-20020ac8574b000000b00429c4fca7d0mr764847qtx.84.1705579525874; Thu, 18 Jan 2024 04:05:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705579525; cv=pass; d=google.com; s=arc-20160816; b=MEsrj82DWQegswMtzE8EnM5uzCOEB1179grh5J3pQ9J7aYakW2PHt4lRyXKkStiZmr u8L5MgAr7lsJ6fV0wHBzneBFwBy48XbMAR/KLw+xe2DLMguU3HzKD1O6lJcFGtf+3guH T5g1RY8FNcM4dccfuKQVhQxPoZGRaWSsYZuf6vwXk2ywjKAFO+L9yaJvYtCVP3IVXAc0 Z25D5bALti9k5WaLaWpKyvSeqZ+cgTdD5whZWYaUYEgjpVJjv6dm5BSwAbH28WMscaFM gucscrlvl9VvS2IrvhSzhE0yMGp48HKVmV6d4ihC/WZJncj/b6VNVEcFEeyfjXlLjmqi y5OQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=VnLv+TIvgBGfXbBJgeUlrhix2/NHWD3fCa9bkDX0Uo4=; fh=sJ+2/4g29YdyXkoRrFZSpsL2zxijepB7X/1rB0LDDh8=; b=m6bcbCSW3uHwP1nTTcUzKiYmbiVEZllCkfcQv+/jZQ/N3/L3m6iTkJ8j9PnZ1vpSHt vi+hmDrKaUlkJa4WFIGc1MBvn3Q1yohFb5YRPQfndsTgmyuPIdX9X3+694OFKEMct8+x Sc8M4BmBamaBqYqsil09ZqimtxJiCsJoW0tbaj0wzeZgoYXRjWic0/jqdjhXL+5THoD9 u4GuRwFdjit3CDsXJg86PdBfrk0EoSPx2dmofTvQfdeapQ++lxsEcERQuswvChO+qGNW S1RC24Ve8IkYI7yE9CrEj0QxtYA1+2VR8Foyd8wKfpKoEM9DbYO2pE/P1saO4tcgImyY Gw9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LNT8sMaj; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id m16-20020a05622a055000b0042988ff2287si13597632qtx.737.2024.01.18.04.05.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 04:05:25 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LNT8sMaj; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8875F385C6DD for ; Thu, 18 Jan 2024 10:45:35 +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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788429757177977505 X-GMAIL-MSGID: 1788429757177977505 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