From patchwork Mon Jan 21 00:59:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 281 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 23F3560C82 for ; Mon, 21 Jan 2019 01:59:35 +0100 (CET) Received: from pendragon.bb.dnainternet.fi (dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B2487D80 for ; Mon, 21 Jan 2019 01:59:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1548032374; bh=JHXITrYgTIpvNyao7vFSpf4PhKqGA7PwqPtbJzNUobg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IM/9jJAXLtixLO9ffmFis5z5Qa4t6sRvyTNYDFlh3CEbV71tVMUzrgBhrLQjpunxH 92ihGhc8jXQZ+wxqpAkwaRhA5eZ/98La2KErcO3txjiYef5sYATSfwZEOAW0gz0ndb RnAnZZDj6bciYUaPQmVvxrc8P9YpLA3uoa3g2FGg= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 21 Jan 2019 02:59:25 +0200 Message-Id: <20190121005930.10112-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190121005930.10112-1-laurent.pinchart@ideasonboard.com> References: <20190121005930.10112-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/6] Documentation: coding_style: Add move semantics to C++11 features X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 00:59:35 -0000 Add the move semantics (move constructor and move assignment) to the allowed C++11 features, as we extensively use them for the unique and shared pointers. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- Documentation/coding-style.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst index 66db3cebe132..30a1455d8c65 100644 --- a/Documentation/coding-style.rst +++ b/Documentation/coding-style.rst @@ -80,6 +80,7 @@ C++-11-specific features: Smart pointers, as well as shared pointers and weak pointers, shall not be overused. * Variadic class and function templates +* rvalue references, move constructor and move assignment Object Ownership ~~~~~~~~~~~~~~~~