Documentation: Update to C++20

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>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2026-04-06 00:57:24 +03:00
parent 6c40aa5a20
commit cfa7520a22

View File

@@ -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.