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

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Jan 16 01:33:04 CET 2019


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 at ideasonboard.com>
---
 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



More information about the libcamera-devel mailing list