range-v3 icon indicating copy to clipboard operation
range-v3 copied to clipboard

views::tail's documentation is incorrect

Open szilardszaloki opened this issue 4 years ago • 0 comments

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.

szilardszaloki avatar Jan 17 '21 21:01 szilardszaloki