diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-09-17 13:26:28 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-09-17 13:27:00 +0300 |
commit | a4027658eeaff868a68675594bf774a87454344e (patch) | |
tree | 17d8f3e7415e24eadb8bf9fa60d4558ac0b0508c /release | |
parent | 9dcce5be90614fef9b44cb0606a930238009b3d0 (diff) |
IndexRange: Add new `intersect` method
Returns a new range, that contains the intersection of the current one
with the given range.
This is helpful to select a portion of a range without having to deal with
all the asserts of other functions. The resulting range being always a
valid subrange, it can be used to iterate or copy a part of a vector.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions