Commit a807bf64 authored by Michaël Roynard's avatar Michaël Roynard
Browse files

Simplify outputimage concept

parent 700670ed
Pipeline #12341 passed with stages
in 13 minutes and 55 seconds
......@@ -196,13 +196,14 @@ namespace mln::concepts
// OutputImage
// Usage: RawImage<I> && OutputImage<I>
template <typename Ima>
concept OutputImage =
(InputImage<Ima> && WritableImage<Ima>) || // alias for Image and ForwardImage
(IndexableImage<Ima> && WritableIndexableImage<Ima>) ||
(AccessibleImage<Ima> && WritableAccessibleImage<Ima>) ||
(BidirectionalImage<Ima> && WritableBidirectionalImage<Ima>) ||
(RawImage<Ima> && WritableRawImage<Ima>);
(WritableImage<Ima>) || // alias for Image and ForwardImage
(WritableIndexableImage<Ima>) ||
(WritableAccessibleImage<Ima>) ||
(WritableBidirectionalImage<Ima>) ||
(WritableRawImage<Ima>);
// TODO: think about ViewImage vs. ConcreteImage
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment