From patchwork Thu Nov 13 11:05:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 25012 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 75C1BC3263 for ; Thu, 13 Nov 2025 11:10:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1A87360A85; Thu, 13 Nov 2025 12:10:04 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="mwHxdb9L"; dkim-atps=neutral Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EA5E860805 for ; Thu, 13 Nov 2025 12:10:01 +0100 (CET) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4777a96d817so365025e9.2 for ; Thu, 13 Nov 2025 03:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1763032201; x=1763637001; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=J3iyZZ59oBhz6hSERxs3hbt7kEyfXdYmvRIY4Dw76Ek=; b=mwHxdb9LN6uTKP7Gw6SCNL4iZnQ6dkuNuDSSfo/8MmGibqmZdtIMd9o9LlN6XztTyb ekvsjwXhgxn+PnP7JqRC7DB096/T9lUTo5NIsLjyT4c2du1hx5CSAdOByg6+gIDRR4Mw ra8XAT9fiAAhQJfgj88pB43gcUuhrc5LYVgCmQDyNLiSg9T1xDQdmembNGEAJYfvmyXZ /urog+qeRvSwhAM2JO14S0PzpGBGGglrpitSaNJ3E5ILTy0NPFH2UcqQN0Q5jghqnufZ iv80IAVsDWzbqZ9roYOH3HQjYj80LTSgFkFfviwXjuKWn4whiNVf8AWaqEoY1ifmZ6fY JeSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763032201; x=1763637001; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=J3iyZZ59oBhz6hSERxs3hbt7kEyfXdYmvRIY4Dw76Ek=; b=HZ0saRe+Lcap3sWlyrqh2NFG/3I1I+e5aDfrtjCxCK0aWOpMexXmqSDQqL94xve8+B BoDYhbsOXZXiL0PlDBTb5u2z4XUdN0dz+EbKmSwtD0sgzrxf0kPEeUeYR3s1KiBBnNM3 dafTbLVrvLRa5YFA4GAkVBBgjQfku9hv+RDDDErJ8+6ly5CVc7I1DXhTTCgLtAMRe4wt IiBZpr/CkXeTJFz7AEyk9TsOz/TMz/pu2Qs1bLMXakZLXjVxPSMwqKjX22sxNPiG69yh dKZgpaOUE+EIehbaXZ9nR2uPNE/vC62jqE3LNMmT9K/dFj0bbI53Lp0HF9QX9+P1wVim SicQ== X-Gm-Message-State: AOJu0YzWHLCuCgagav/rtiprS9Bzs1p9ah/gObCkIf9s0r8Xp3VgI3OH n9+OG1cACbg1K1uP+L7j0nJczrjxVF9OHF7wwhQnXqaGfWT4DndyS4L+Aiqsc7hT94KSF8KVXJq 0JrWi X-Gm-Gg: ASbGnculT6gD8SIg0mDFJTxqUORb2z5dH1YMXL96BYIubZsNhfLPGqytkukUv42o/Nl Yeh/Sx2Opl8XbAHJ9Ak7/VhQFwMLCI337Ngv3g7894Gvy1g953nsPBJ7uztUqPDyWNQhZL1tCk5 HTF4SucfRZNUmFdva53uNOUgWQ8xGUBso5u4mzstzo4/71pQJC/URuR2xqdpebCCLs7pIkWiC8g CwkRW149FpCmRExQJTXazBEMLqZ6MxstQLVjPYzUW6jiUlgmAXhEZmI9M1mp8S6K/FndrgLVNS+ UWTlcikVMEH5nIIScnM3e9YcI9SDg/hq/CX39NcScgVgXi8SB7P/ifDDR+ubbt3x7ABiVvQKYyz jSZhz1ZiJaf4dfIUtBTsR96IMlpAbtyGBXJdo0TDQj+24E3nbMJdYqyP4mRLcybEn9G0ozDmxqS 0pVQbcFfFuKKGp/socWguU X-Google-Smtp-Source: AGHT+IGhZSUdye3rPdAsoZvTxWx10VjUfnETH6MeLQsAYxIMKvwcbDnm/I3LSLm7HgFSnEbHyOui7g== X-Received: by 2002:a05:6000:4022:b0:42b:3746:3b83 with SMTP id ffacd0b85a97d-42b530a4aa3mr1057245f8f.8.1763032201058; Thu, 13 Nov 2025 03:10:01 -0800 (PST) Received: from naush-dell.pitowers.org ([2a00:1098:3142:1f:2656:5224:553b:c3da]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53e7aea7sm3259935f8f.1.2025.11.13.03.10.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Nov 2025 03:10:00 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: Naushir Patuck Subject: [RFC PATCH v1 0/1] Switch to C++20 standard Date: Thu, 13 Nov 2025 11:05:30 +0000 Message-ID: <20251113110958.1117065-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, As the subject says, I'm looking for feedback on switching libcamera to build against the C++20 standard. Note that the public libcamera API still remains C++17 compliant, but eventally it would make sense to switch the public API as well (breaking the ABI!), e.g. std::span in place of libcamera:span. Regards, Naush Naushir Patuck (1): treewide: Update to the C++20 standard meson.build | 2 +- src/libcamera/base/log.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)