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:
parent
576c9454cf
commit
6c27bada1d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue