Cover Letter Detail
Show a cover letter.
GET /api/covers/2226686/?format=api
{ "id": 2226686, "url": "http://patchwork.ozlabs.org/api/covers/2226686/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/cover/bmm.hhuogh01ko.gcc.gcc-TEST.peppe.54.1.0@forge-stage.sourceware.org/", "project": { "id": 17, "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api", "name": "GNU Compiler Collection", "link_name": "gcc", "list_id": "gcc-patches.gcc.gnu.org", "list_email": "gcc-patches@gcc.gnu.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<bmm.hhuogh01ko.gcc.gcc-TEST.peppe.54.1.0@forge-stage.sourceware.org>", "list_archive_url": null, "date": "2026-04-22T18:24:53", "name": "[v1,0/1] WIP: libstdc++: add range support to std::optional (P3168)", "submitter": { "id": 93222, "url": "http://patchwork.ozlabs.org/api/people/93222/?format=api", "name": "peppe via Sourceware Forge", "email": "forge-bot+peppe@forge-stage.sourceware.org" }, "mbox": "http://patchwork.ozlabs.org/project/gcc/cover/bmm.hhuogh01ko.gcc.gcc-TEST.peppe.54.1.0@forge-stage.sourceware.org/mbox/", "series": [ { "id": 501073, "url": "http://patchwork.ozlabs.org/api/series/501073/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501073", "date": "2026-04-22T18:24:53", "name": "WIP: libstdc++: add range support to std::optional (P3168)", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501073/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/2226686/comments/", "headers": { "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "gcc-patches@gcc.gnu.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "gcc-patches@gcc.gnu.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)", "sourceware.org; dmarc=none (p=none dis=none)\n header.from=forge-stage.sourceware.org", "sourceware.org;\n spf=pass smtp.mailfrom=forge-stage.sourceware.org", "server2.sourceware.org;\n arc=none smtp.remote-ip=38.145.34.39" ], "Received": [ "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g176Y1s9wz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 04:29:25 +1000 (AEST)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6F8D5435EC53\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 18:29:23 +0000 (GMT)", "from forge-stage.sourceware.org (vm08.sourceware.org [38.145.34.39])\n by sourceware.org (Postfix) with ESMTPS id 1034043787E1\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 18:25:46 +0000 (GMT)", "from forge-stage.sourceware.org (localhost [IPv6:::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256)\n (No client certificate requested)\n by forge-stage.sourceware.org (Postfix) with ESMTPS id DD44D43467\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 18:25:45 +0000 (UTC)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 6F8D5435EC53", "OpenDKIM Filter v2.11.0 sourceware.org 1034043787E1" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 1034043787E1", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 1034043787E1", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776882346; cv=none;\n b=TmXWFX7475sEpbFjnw+tXVes3MkXyrUXyeZ0TyIcebYuVtIvC+cJVW5kw25u8LYnmwrDDt3isNrPu1QP826yS45vep+n6lb2SXfxKdNM1Lx1ckRssNKj2uhniLZkznrxL1u+yacjCab8+tIh11ygrm6+ex3Nza38xzOsYlw4RSI=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776882346; c=relaxed/simple;\n bh=luVlQGCOFTPSyco7XTGYdTuH+QDe5s+/UcpuwnhZdBI=;\n h=From:Date:Subject:To:Message-ID;\n b=hbq1Qq/DmJ5dGlQB+GnUUE+3xJ2qffv4GgNsU5Vq6Yku5w3xD1gp57mhwucsWN6iVacloVXS/bCl5uWGbggiJ5AA4Xa9gETcMJy7Mzr5Pi4OmlY599AFRx8F0tXkyZzWUldgqqxmcfUsgqhTL3JRDIknW3tzMoSjoOm5i52V5UA=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "From": "peppe via Sourceware Forge <forge-bot+peppe@forge-stage.sourceware.org>", "Date": "Wed, 22 Apr 2026 18:24:53 +0000", "Subject": "[PATCH v1 0/1] WIP: libstdc++: add range support to std::optional\n (P3168)", "To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>", "Message-ID": "\n <bmm.hhuogh01ko.gcc.gcc-TEST.peppe.54.1.0@forge-stage.sourceware.org>", "X-Mailer": "batrachomyomachia", "X-Requested-Reviewer": "redi", "X-Pull-Request-Organization": "gcc", "X-Pull-Request-Repository": "gcc-TEST", "X-Pull-Request": "https://forge.sourceware.org/gcc/gcc-TEST/pulls/54", "X-BeenThere": "gcc-patches@gcc.gnu.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>", "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>", "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>", "List-Post": "<mailto:gcc-patches@gcc.gnu.org>", "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>", "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>", "Reply-To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>,\n peppe@noreply.localhost", "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org" }, "content": "Hi gcc-patches mailing list,\npeppe via Sourceware Forge <forge-bot+peppe@forge-stage.sourceware.org> has requested that the following forgejo pull request\nbe published on the mailing list.\n\nCreated on: 2025-06-09 22:08:08+00:00\nLatest update: 2025-08-14 09:40:23+00:00\nChanges: 0 changed files, 0 additions, 0 deletions\nHead revision: peppe/gcc-TEST ref refs/pull/54/head commit 2df2898b525ff502924e33df4d0ad94b0c11ddfe\nBase revision: gcc/gcc-TEST ref trunk commit 01044e0ee27093a3990996578b15f6ab69ed3395 r16-1114-g01044e0ee27093\nMerge base: 01044e0ee27093a3990996578b15f6ab69ed3395\nFull diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/54.diff\nDiscussion: https://forge.sourceware.org/gcc/gcc-TEST/pulls/54\nRequested Reviewers: redi\n\nThis commit implements P3168 (\"Give std::optional Range Support\"), added\nfor C++26. Both begin() and end() are straightforward, implemented using\nnormal_iterator over a raw pointer.\n\nstd::optional is also a view, so specialize enable_view for it.\n\nWe also need to disable automatic formatting a std::optional as a range\nby specializing format_kind. In order to avoid dragging <format> when\nincluding <optional>, I've isolated format_kind and some supporting code\ninto <bits/formatfwd.h> so that I can use that (comparatively) lighter\nheader.\n\nlibstdc++-v3/ChangeLog:\n\n\t* include/bits/formatfwd.h (format_kind): Move the definition\n\t(and some supporting code) from <format>; adjust inclusions.\n\t* include/std/format (format_kind): Likewise.\n\t* include/bits/version.def (optional_range_support): Add\n\tthe feature-testing macro.\n\t* include/bits/version.h: Regenerate.\n\t* include/std/optional (iterator, const_iterator, begin, end):\n\tAdd range support.\n\t(enable_view): Specialize for std::optional.\n\t(format_kind): Specialize for std::optional.\n\t* testsuite/20_util/optional/range.cc: New test.\n\nThanks for taking the time to contribute to GCC!\n\nPlease be advised that https://forge.sourceware.org/ is currently a trial\nthat is being used by the GCC community to experiment with a new workflow\nbased on pull requests.\n\nPull requests sent here may be forgotten or ignored. Patches that you want to\npropose for inclusion in GCC should use the existing email-based workflow,\nsee https://gcc.gnu.org/contribute.html\n\n\nChanged files:\n- A: libstdc++-v3/testsuite/20_util/optional/range.cc\n- M: libstdc++-v3/include/bits/formatfwd.h\n- M: libstdc++-v3/include/bits/version.def\n- M: libstdc++-v3/include/bits/version.h\n- M: libstdc++-v3/include/std/format\n- M: libstdc++-v3/include/std/optional\n- M: libstdc++-v3/testsuite/20_util/optional/version.cc\n\n\nGiuseppe D'Angelo (1):\n libstdc++: add range support to std::optional (P3168)\n\n libstdc++-v3/include/bits/formatfwd.h | 26 +++\n libstdc++-v3/include/bits/version.def | 8 +\n libstdc++-v3/include/bits/version.h | 10 ++\n libstdc++-v3/include/std/format | 26 ---\n libstdc++-v3/include/std/optional | 47 +++++\n .../testsuite/20_util/optional/range.cc | 163 ++++++++++++++++++\n .../testsuite/20_util/optional/version.cc | 18 ++\n 7 files changed, 272 insertions(+), 26 deletions(-)\n create mode 100644 libstdc++-v3/testsuite/20_util/optional/range.cc" }