Closed tower120 closed 5 years ago
This is by design, especially in the v1.0-beta branch. The views are required to be Semiregular
, which subsumes Copyable
. There is no way to aggregate a move-only predicate while preserving copyability.
I see, thanks.
view::remove_if
does not work with non_copyable (move-only) predicate. Is this by the design?Following does not compiles:
https://wandbox.org/permlink/5xQFKzIUyRQBie1s