libcamera/include/libcamera
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
..
internal libcamera: Declare empty virtual destructors as defaulted 2020-10-23 22:53:13 +03:00
ipa ipa: raspberry: Initialize ControlInfo with values list 2020-10-26 17:51:55 +01:00
bound_method.h libcamera: Declare empty virtual destructors as defaulted 2020-10-23 22:53:13 +03:00
buffer.h libcamera: buffer: Remove copyFrom() 2020-09-22 12:06:09 +02:00
camera.h libcamera, android, cam, gstreamer, qcam, v4l2: Reuse Request 2020-10-12 11:32:40 +09:00
camera_manager.h libcamera: camera_manager: Introduce signals when a camera is added or removed 2020-06-17 00:27:54 +03:00
control_ids.h.in libcamera: controls: Generate an array of valid values 2020-10-26 17:51:55 +01:00
controls.h libcamera: controls: Construct from valid values 2020-10-26 17:51:54 +01:00
event_dispatcher.h libcamera: event_dispatcher: Add interrupt() function 2019-01-23 18:51:56 +02:00
event_notifier.h libcamera: Add parent argument to constructors of Object-derived classes 2019-08-17 18:47:17 +03:00
file_descriptor.h libcamera: file_descriptor: Implement move semantics for constructor 2020-05-19 18:07:49 +03:00
formats.h.in libcamera: Define constants for pixel formats in the public API 2020-06-18 13:26:36 +03:00
framebuffer_allocator.h FrameBufferAllocator: fix non-copyability 2020-09-29 03:55:27 +03:00
geometry.h libcamera: geometry: Add isNull() function to Rectangle class 2020-08-03 11:16:16 +02:00
logging.h libcamera: logging: add syslog, stream, and nowhere logging targets 2019-07-17 14:36:35 +09:00
meson.build libcamera: Add Transform enum to represent 2D plane transforms. 2020-09-29 11:43:06 +01:00
object.h libcamera: object: Add deleteLater() support 2020-07-31 23:33:32 +03:00
pixel_format.h libcamera: pixel_format: Add a function to return format based on string 2020-08-03 11:48:47 +01:00
property_ids.h.in libcamera: Support draft controls and properties 2020-10-26 17:51:54 +01:00
request.h libcamera, android, cam, gstreamer, qcam, v4l2: Reuse Request 2020-10-12 11:32:40 +09:00
signal.h libcamera: Drop unneeded empty default constructors and destructors 2020-10-23 22:48:17 +03:00
span.h libcamera: span: Make constructors explicit as required by C++20 2020-10-26 20:39:08 +02:00
stream.h libcamera: stream: Rename StillCaptureRaw to Raw 2020-09-30 14:01:01 +02:00
timer.h libcamera: Standardise on C compatibility headers 2019-10-23 17:39:39 +03:00
transform.h libcamera: Add Transform enum to represent 2D plane transforms. 2020-09-29 11:43:06 +01:00
version.h.in libcamera: Rework automatic version generation to avoid rebuilds 2019-07-09 12:34:10 +03:00