ericniebler / range-v3

Range library for C++14/17/20, basis for C++20's std::ranges
Other
4.11k stars 440 forks source link

views::tail's documentation is incorrect #1602

Open szilardszaloki opened 3 years ago

szilardszaloki commented 3 years ago

views::tail: "Given a source range, return a new range without the first element. The range must have at least one element."https://ericniebler.github.io/range-v3/index.html#autotoc_md8

"The range must have at least one element." part doesn't seem to hold anymore as ranges::advance handles the empty range case inside views::tail's implementation.