https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96731
--- Comment #3 from Tony E Lewis <TonyELewis at hotmail dot com> --- Thanks for correcting my failure to find the relevant part of the standard and for confirming this as an enhancement request. Yes please. If libstdc++'s sample() could play nicely with range-v3's view::indices, that'd be much appreciated.