[libcamera-devel] [PATCH v2 0/2] libcamera: revert C++17 specific code for public API

Jean-Michel Hautbois jeanmichel.hautbois at ideasonboard.com
Tue Jan 26 14:04:13 CET 2021


Some applications may not be compliant with C++17 (Chromium, as an
example). Keep the C++17 features for libcamera internals, and C++14
compliance for public API.

---
Changes in v2:
- keep each revert separate

Jean-Michel Hautbois (2):
  Revert "libcamera: span: Provide and use helper variable templates for
    type traits"
  Revert "libcamera: Use helper variable template for type traits"

 include/libcamera/bound_method.h |  2 +-
 include/libcamera/controls.h     | 24 +++++------
 include/libcamera/object.h       |  2 +-
 include/libcamera/signal.h       |  4 +-
 include/libcamera/span.h         | 70 +++++++++++++++-----------------
 5 files changed, 48 insertions(+), 54 deletions(-)

-- 
2.27.0



More information about the libcamera-devel mailing list