summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-12-27 11:20:59 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-05 01:24:35 +0200
commit36c15f32c95552107903604db4b3e63752e49378 (patch)
tree10fae0408cc6db209c4974146bc3688226473103 /include/linux
parent79266225d2af742195f99be7c91c7d5356f7eb78 (diff)
libcamera: utils: Add reverse adapter for range-based loop
Add a utils::reverse() function that creates an adapter wrapping in iterable, such that range-based iteration over the adapter iterates over the iterable in reverse order. 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions