summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-21 01:53:17 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-21 10:52:30 +0200
commit6c27bada1dcbbd37f640869f4c0730ec53f6b4f2 (patch)
tree078e05b7f4822ace384d1741a99f30a3275eee1b
parent576c9454cfc9529852a7b0da3e5bfb465fb4baa5 (diff)
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 <laurent.pinchart@ideasonboard.com> Acked-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--Documentation/coding-style.rst1
1 files changed, 1 insertions, 0 deletions
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