Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
pylene
Commits
a807bf64
Commit
a807bf64
authored
Dec 07, 2018
by
Michaël Roynard
Browse files
Simplify outputimage concept
parent
700670ed
Pipeline
#12341
passed with stages
in 13 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pylene/include/mln/core/concept/new/images.hpp
View file @
a807bf64
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment