[libcamera-devel] Documentation: coding_style: Allow C++11 variadic templates

Message ID 20190116003304.1837-1-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • [libcamera-devel] Documentation: coding_style: Allow C++11 variadic templates
Related show

Commit Message

Laurent Pinchart Jan. 16, 2019, 12:33 a.m. UTC
We make use of the C++11 variadic templates feature in the signal&slot
implementation, mark it as allowed in the coding style documentation.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 Documentation/coding-style.rst | 1 +
 1 file changed, 1 insertion(+)

Comments

Jacopo Mondi Jan. 16, 2019, 8:56 a.m. UTC | #1
HI Laurent,

On Wed, Jan 16, 2019 at 02:33:04AM +0200, Laurent Pinchart wrote:
> We make use of the C++11 variadic templates feature in the signal&slot
> implementation, mark it as allowed in the coding style documentation.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Acked-by: Jacopo Mondi <jacopo@jmondi.org>

Thanks
  j

> ---
>  Documentation/coding-style.rst | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst
> index 55e195cfc368..8dde5df04254 100644
> --- a/Documentation/coding-style.rst
> +++ b/Documentation/coding-style.rst
> @@ -79,6 +79,7 @@ C++-11-specific features:
>  * General-purpose smart pointers (std::unique_ptr), deprecating std::auto_ptr.
>    Smart pointers, as well as shared pointers and weak pointers, shall not be
>    overused.
> +* Variadic templates
>
>
>  Tools
> --
> Regards,
>
> Laurent Pinchart
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel@lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel

Patch

diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst
index 55e195cfc368..8dde5df04254 100644
--- a/Documentation/coding-style.rst
+++ b/Documentation/coding-style.rst
@@ -79,6 +79,7 @@  C++-11-specific features:
 * General-purpose smart pointers (std::unique_ptr), deprecating std::auto_ptr.
   Smart pointers, as well as shared pointers and weak pointers, shall not be
   overused.
+* Variadic templates
 
 
 Tools