From patchwork Sat Dec 16 22:54:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 179929 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp455335dyi; Sat, 16 Dec 2023 14:55:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSyZCXGEWZMajXvOmOPlsi3WX+y9D1122dxwY3TvgwA6OIg+caMpHgo5d5VaNDUjdhOo9r X-Received: by 2002:a05:622a:1792:b0:425:a5a0:19ed with SMTP id s18-20020a05622a179200b00425a5a019edmr19278670qtk.69.1702767348401; Sat, 16 Dec 2023 14:55:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702767348; cv=pass; d=google.com; s=arc-20160816; b=hfvKNVTXU+sWBuTLNq1OeidBq9Uw+0HO/K8QfETkH1dYy4EIy40YgFY7r5NeV5VPMf Nld2LRa17ddjN+KVnKfIwB9hpBUNqB2xeHhfZEL6Fg/fCGVXSazMIwVNffrlFA2szHwT aSE4EsFKpzLx+3z9Qr+pPf/27B/n/78hLYOSlY2s43+XIGEnT2P7Pgslw2ZkLNvKGMfb aE9dAOFQMk1uTsErA4+0AJSLIbJtYENX9hvBDYSFC00eQ/qHaf1mrsJLwJQKQLciHczQ 1EQ+cGx2I67fMfIrSged4/Fwr3ykwDpSNsUidg4Jkf8p9yqILPEGyrlCk2U6zXPv3cKf Wy0g== 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=gei0M5e3Pk0ijzGVHCQAPb0i5x5CymVBYHaDF3Z50O4=; fh=sJ+2/4g29YdyXkoRrFZSpsL2zxijepB7X/1rB0LDDh8=; b=ae93eO8q/SoDPA8lG/pRo3nSOCdO07eEiGatREACkz+e0CKKbnXJIZKBIByNrUTbmm PMb1zPLAtYeyAnmB0aXXAScMzeCMWiDKJoOMSZZ6zrw8oRzxVo/HgTOkGEHUBClpD+cR 9q16CgA96/uMvFN0sl2HmaNzIoXWyuhnuCoUaoAvZSfJ+OgtIxxqiWOC52OHJ0L0C9lc wYTRifKcgKHkhGyCv981lRb0s8AGPIZv3mCLE9cRY+Y8KRw1xi9izf+sxnqAEQ3VD/px VN0wU44HUGrunrY2tlHIqHSZHia//X0qgRfa68Vc/UQ/WxOXejLD9f2llkmaRhs2Djk2 qpBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AzoRbMWB; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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. [8.43.85.97]) by mx.google.com with ESMTPS id f22-20020ac859d6000000b004257fd2b253si20962404qtf.150.2023.12.16.14.55.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 14:55:48 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AzoRbMWB; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 2333A3858D39 for ; Sat, 16 Dec 2023 22:55:48 +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 4E32C3858D39 for ; Sat, 16 Dec 2023 22:55:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4E32C3858D39 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 4E32C3858D39 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=1702767323; cv=none; b=kK6RyI/Q/H8BmTIXcx+b+Rp3knClj5d7R5d00WEGuvLimy5WPOxirGKW3HYwqPgI4OHAK1ieHsZbytKVCCQrhqIPQbBndcuNx1mz76OjvWFlMOM7r5ViqcHMrDygi4ZzFK7cLXaA7fjvZ+K3bYEbjQZkCLEA5ZWc0QJdWw6W6yw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702767323; c=relaxed/simple; bh=Vx3VSRfzrzeSt8cDMa/EHyMnK7H5ahRikodaKz9igU0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=OZDGbxgVD6PUmk187Mzun6wOnuxgqKgOqsLdKtxLwM5BBIjKy3rJ234iRHtNPySQ8FnRGxcJ/97ugRJq8q+AAC+BHwnZZHIpkH9t+3VCXD4Pqiq21s8qHYtDcP+B91DfnWDrF3qZt/Xl6CBH1855V1jQfmtImfc5ekqt3puaZP4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702767321; 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=gei0M5e3Pk0ijzGVHCQAPb0i5x5CymVBYHaDF3Z50O4=; b=AzoRbMWBHWTn4EKcQ7wgUetnskJ59kABB2w0y61XHfWmVnh+Z9nwP3aSa/K3/7nVkvJC9J bjeCjzlt05wcR3EOUZI1OkcKkCv3ECJfuyD2lU7DvNIt03+S8HWTcmpuhXBpr5a8iBFVAS N/Hh8gj+rWRMOZ3Px+oUqBnssrZmiDc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-373-rQmgKFYjMTu6WU0HlZ4-Bg-1; Sat, 16 Dec 2023 17:55:20 -0500 X-MC-Unique: rQmgKFYjMTu6WU0HlZ4-Bg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (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 17DC0835145; Sat, 16 Dec 2023 22:55:20 +0000 (UTC) Received: from localhost (unknown [10.42.28.6]) by smtp.corp.redhat.com (Postfix) with ESMTP id D64BC492BF0; Sat, 16 Dec 2023 22:55:19 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [wwwdocs] Document std::print and std::ranges::to for C++23 Date: Sat, 16 Dec 2023 22:54:40 +0000 Message-ID: <20231216225519.2306598-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham 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: 1785480975068691728 X-GMAIL-MSGID: 1785480975068691728 Pushed to wwwdocs. -- >8 -- --- htdocs/gcc-14/changes.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 346785a0..eb14e09d 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -209,8 +209,14 @@ a work-in-progress.

  • Improved experimental support for C++23, including:
      +
    • The std::ranges::to function for converting + ranges to containers. +
    • The <stacktrace> header is supported by default.
    • +
    • std::print and std::println + (requires linking with -lstdc++exp on Windows). +
    • Formatters for std::thread::id and std::stacktrace.
    • @@ -237,12 +243,12 @@ a work-in-progress.

      std::numeric_limits<_Float64> are now defined for all standard modes, not only for C++23. -
    • Using the std::setfill manipulator with - std::istream is deprecated. -
    • Added missing functions for float and long double to <cmath>.
    • +
    • Using the std::setfill manipulator with + std::istream is deprecated. +