libcamera/include
Laurent Pinchart 5aabf85d2c libcamera: span: Make constructors explicit as required by C++20
The C++20 std::span class, after which Span is modelled, specifies four
constructors as explicit when extent is not dynamic_extent. Align our
implementation with those requirements.

A careful reviewer may notice that this change addresses five
constructors, not four. The reason is that the two constructors taking
Container and const Container parameters are not specified in C++20,
which uses a single constructor taking a range parameter instead. As
ranges are not available in C++17, the Container constructors are our
best effort at providing a similar feature.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2020-10-26 20:39:08 +02:00
..
android licenses: License all meson files under CC0-1.0 2020-05-13 16:46:24 +03:00
libcamera libcamera: span: Make constructors explicit as required by C++20 2020-10-26 20:39:08 +02:00
linux include: linux: Update V4L2_CID_USER_BCM2835_ISP_BASE to match upstream tree 2020-10-19 05:18:51 +03:00
meson.build libcamera: Move IPA headers from include/ipa/ to include/libcamera/ipa/ 2020-05-16 03:38:47 +03:00