From 6c27bada1dcbbd37f640869f4c0730ec53f6b4f2 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 21 Jan 2019 01:53:17 +0200 Subject: Documentation: coding_style: Add move semantics to C++11 features 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 Acked-by: Jacopo Mondi --- Documentation/coding-style.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'Documentation/coding-style.rst') diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst index f8d2fdfe..129086be 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 Tools -- cgit v1.2.1