{"id":26437,"url":"https://patchwork.libcamera.org/api/patches/26437/?format=json","web_url":"https://patchwork.libcamera.org/patch/26437/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260405222705.1238116-1-laurent.pinchart@ideasonboard.com>","date":"2026-04-05T22:27:04","name":"[1/2] Documentation: Update to C++20","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"b9f0139c515411379ea7cc2041b5111113d4c8e3","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/26437/mbox/","series":[{"id":5871,"url":"https://patchwork.libcamera.org/api/series/5871/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5871","date":"2026-04-05T22:27:04","name":"[1/2] Documentation: Update to C++20","version":1,"mbox":"https://patchwork.libcamera.org/series/5871/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/26437/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/26437/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id CF5A4BEFBE\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  5 Apr 2026 22:27:09 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C67E362D7B;\n\tMon,  6 Apr 2026 00:27:08 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0409862CE6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  6 Apr 2026 00:27:06 +0200 (CEST)","from killaraus.ideasonboard.com\n\t(2001-14ba-703d-e500--2a1.rev.dnainternet.fi\n\t[IPv6:2001:14ba:703d:e500::2a1])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 8DE1263C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  6 Apr 2026 00:25:40 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"sC/IQrKO\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1775427940;\n\tbh=3aDGbUpZry1wCIYIhyA54LRd8gXkOIMqtkVNOTQZ7Eg=;\n\th=From:To:Subject:Date:From;\n\tb=sC/IQrKOaAzgeOlJS9LoSuo9Yd6L2ynUqIWj7UYNMO52Yb7W5ur6CaliNjeGYptRs\n\tBzaIrlp7x4TR6V3zaMTRgSJ1GVquYpt1zsJSdJUUe+HZKQeec5x55guy0Xk8TPLLSC\n\tw3EX8NEweHhCZiB9gh80APuiLqIJBg3Zo2SUbFYo=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"[PATCH 1/2] Documentation: Update to C++20","Date":"Mon,  6 Apr 2026 01:27:04 +0300","Message-ID":"<20260405222705.1238116-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.52.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"libcamera has switched to C++20, update the coding style documentation\nthat still mentions C++17.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n Documentation/coding-style.rst | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst\nindex e0864b78d4b7..5b90a43a6813 100644\n--- a/Documentation/coding-style.rst\n+++ b/Documentation/coding-style.rst\n@@ -105,7 +105,7 @@ headers, and with double quotes for internal libcamera headers.\n C++ Specific Rules\n ------------------\n \n-The code shall be implemented in C++17, with the following caveats:\n+The code shall be implemented in C++20, with the following caveats:\n \n * Type inference (auto and decltype) shall be used with caution, to avoid\n   drifting towards an untyped language.\n","prefixes":["1/2"]}