diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-26 21:29:01 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-28 03:33:06 +0200 |
commit | 8e42c2feb7ff7c350ffbbf97dd963dfd54e21faa (patch) | |
tree | 6febb247a75d43ec8b84acb65fabeca116dc5f6d /test/event.cpp | |
parent | 6cbdc2859963e17bc897a4022f1d68170477d888 (diff) |
libcamera: span: Provide and use helper variable templates for type traits
Following the C++17 practice, provide is_array_v<T> and is_span_v<T>
helper variable templates as shorter versions of is_array<T>::value and
is_span<T>::value, and use them through the code.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/event.cpp')
0 files changed, 0 insertions, 0 deletions