https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96113
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> --- Thanks for the report. I think this is behaving as specified though. The views drop_while_view, filter_view and reverse_view according to the spec do not have a const-qualified begin() member, so ranges::cbegin won't work on them. (I think this is because their begin() must in general cache its result within the view object so that the function has amortized constant time complexity.)