File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ struct ranget final
343
343
344
344
// / Drop the first \p count elements.
345
345
// / If the range has fewer elements, drops everything.
346
+ // / Similar to \ref skip but modifies the range in-place.
346
347
// / \return true if the range still contains element after the drop
347
348
bool drop (std::size_t count)
348
349
{
@@ -358,6 +359,7 @@ struct ranget final
358
359
// / Return an new range containing the same elements except for the first
359
360
// / \p count elements.
360
361
// / If the range has fewer elements, returns an empty range.
362
+ // / Similar to \ref drop but returns a new range object.
361
363
ranget<iteratort> skip (std::size_t count) const
362
364
{
363
365
ranget<iteratort> skip_range{begin (), end ()};
You can’t perform that action at this time.
0 commit comments