cplusplus / draft

C++ standards drafts
http://www.open-std.org/jtc1/sc22/wg21/
5.68k stars 749 forks source link

Cross-reference [range.range]/3.2 from [range.filter.view]/5 #5661

Open villevoutilainen opened 2 years ago

villevoutilainen commented 2 years ago

The remarks of filter_view reference range requirements, perhaps it would be good to actually cross-reference them.

Eisenwave commented 7 months ago

It's a bit unclear to me which constant complexity requirements are referenced here. This could refer to std::ranges::begin/std::ranges::end having amortized constant complexity, but might also fall under [iterator.requirements.general] p13 which is a general requirement towards iterators.