From patchwork Tue Jan 26 13:04:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Michel Hautbois X-Patchwork-Id: 11005 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 BB2B1C0F2B for ; Tue, 26 Jan 2021 13:04:22 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3CCAA682FB; Tue, 26 Jan 2021 14:04:22 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="nbn17MdV"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2ACD5682EC for ; Tue, 26 Jan 2021 14:04:21 +0100 (CET) Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:169:7140:510d:40f3:f9f9:5153]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9DC872C1; Tue, 26 Jan 2021 14:04:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1611666260; bh=jrf7eeUzoEvrSFaFSUM+pyZbv17EaAemMo4jT9ni2SQ=; h=From:To:Cc:Subject:Date:From; b=nbn17MdVmXUKuHONFzMUO0cdUdtyGkIj89qXtz6gTJ3ehJbFsMINeXL/Swxjo/tF3 f/Q7EWA4StNTXGjnokDoQ3h7rVtmtD2DAREjZsiyMFxHv7rAeYQnMYE6fJIoB2EUn7 Zuvrx7opihoeiGn5m2Gw2rfOwH77t3aOlUJO/rP0= From: Jean-Michel Hautbois To: libcamera-devel@lists.libcamera.org Date: Tue, 26 Jan 2021 14:04:13 +0100 Message-Id: <20210126130415.26849-1-jeanmichel.hautbois@ideasonboard.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/2] libcamera: revert C++17 specific code for public API 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" Some applications may not be compliant with C++17 (Chromium, as an example). Keep the C++17 features for libcamera internals, and C++14 compliance for public API. Reviewed-by: Laurent Pinchart --- Changes in v2: - keep each revert separate Jean-Michel Hautbois (2): Revert "libcamera: span: Provide and use helper variable templates for type traits" Revert "libcamera: Use helper variable template for type traits" include/libcamera/bound_method.h | 2 +- include/libcamera/controls.h | 24 +++++------ include/libcamera/object.h | 2 +- include/libcamera/signal.h | 4 +- include/libcamera/span.h | 70 +++++++++++++++----------------- 5 files changed, 48 insertions(+), 54 deletions(-)