Open huixie90 opened 2 years ago
The concept joinable_with_range requires the element of the ranges to be semiregular. I can't find any reason why it has to be seriregular. https://github.com/ericniebler/range-v3/blob/83783f578e0e6666d68a3bf17b0038a80e62530e/include/range/v3/view/join.hpp#L523
joinable_with_range
semiregular
seriregular
One possible reason is one of the join overloads that takes an element and the implementation will create a single_view, and long time ago single_view required semiregular.
join
single_view
The concept
joinable_with_range
requires the element of the ranges to besemiregular
. I can't find any reason why it has to beseriregular
. https://github.com/ericniebler/range-v3/blob/83783f578e0e6666d68a3bf17b0038a80e62530e/include/range/v3/view/join.hpp#L523One possible reason is one of the
join
overloads that takes an element and the implementation will create asingle_view
, and long time agosingle_view
requiredsemiregular
.