mirror of
https://github.com/boostorg/range.git
synced 2025-07-29 20:37:25 +02:00
[boost][range] - Improved the implementation of strided range to eliminate requirements for boost::size(rng) to be a valid expression. Each traversal category of strided_iterator is now individually implemented.
[SVN r67461]
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
[[Function] [`boost::adaptors::stride(rng, n)`]]
|
||||
]
|
||||
|
||||
* [*Precondition:] `0 <= n` and `boost::size(rng)` is a valid expression.
|
||||
* [*Precondition:] `0 <= n`.
|
||||
* [*Returns:] A new range based on `rng` where traversal is performed in steps of `n`.
|
||||
* [*Range Category:] __single_pass_range__
|
||||
* [*Returned Range Category:] The range category of `rng`.
|
||||
|
Reference in New Issue
Block a user