| Message ID | 20260405222705.1238116-1-laurent.pinchart@ideasonboard.com |
|---|---|
| State | Accepted |
| Headers | show |
| Series |
|
| Related | show |
Hi Laurent On Mon, Apr 06, 2026 at 01:27:04AM +0300, Laurent Pinchart wrote: > libcamera has switched to C++20, update the coding style documentation > that still mentions C++17. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> > --- > Documentation/coding-style.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst > index e0864b78d4b7..5b90a43a6813 100644 > --- a/Documentation/coding-style.rst > +++ b/Documentation/coding-style.rst > @@ -105,7 +105,7 @@ headers, and with double quotes for internal libcamera headers. > C++ Specific Rules > ------------------ > > -The code shall be implemented in C++17, with the following caveats: > +The code shall be implemented in C++20, with the following caveats: > > * Type inference (auto and decltype) shall be used with caution, to avoid > drifting towards an untyped language. > -- > Regards, > > Laurent Pinchart >
2026. 04. 06. 0:27 keltezéssel, Laurent Pinchart írta: > libcamera has switched to C++20, update the coding style documentation > that still mentions C++17. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> > Documentation/coding-style.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst > index e0864b78d4b7..5b90a43a6813 100644 > --- a/Documentation/coding-style.rst > +++ b/Documentation/coding-style.rst > @@ -105,7 +105,7 @@ headers, and with double quotes for internal libcamera headers. > C++ Specific Rules > ------------------ > > -The code shall be implemented in C++17, with the following caveats: > +The code shall be implemented in C++20, with the following caveats: > > * Type inference (auto and decltype) shall be used with caution, to avoid > drifting towards an untyped language.
diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst index e0864b78d4b7..5b90a43a6813 100644 --- a/Documentation/coding-style.rst +++ b/Documentation/coding-style.rst @@ -105,7 +105,7 @@ headers, and with double quotes for internal libcamera headers. C++ Specific Rules ------------------ -The code shall be implemented in C++17, with the following caveats: +The code shall be implemented in C++20, with the following caveats: * Type inference (auto and decltype) shall be used with caution, to avoid drifting towards an untyped language.
libcamera has switched to C++20, update the coding style documentation that still mentions C++17. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- Documentation/coding-style.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)