[libcamera-devel] [PATCH 1/6] Documentation: coding_style: Add move semantics to C++11 features
Niklas Söderlund
niklas.soderlund at ragnatech.se
Mon Jan 21 11:23:04 CET 2019
Hi Laurent,
Thanks for your work.
On 2019-01-21 02:59:25 +0200, Laurent Pinchart wrote:
> 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 at ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
> ---
> 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
> ~~~~~~~~~~~~~~~~
> --
> Regards,
>
> Laurent Pinchart
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
--
Regards,
Niklas Söderlund
More information about the libcamera-devel
mailing list