Open szilardszaloki opened 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
views::tail
"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.
ranges::advance
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 insideviews::tail
's implementation.