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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user