mirror of
https://github.com/boostorg/iterator.git
synced 2025-08-03 23:04:30 +02:00
factoring the specialized iterator adaptors
[SVN r19467]
This commit is contained in:
15
doc/permutation_iterator_body.rst
Normal file
15
doc/permutation_iterator_body.rst
Normal file
@@ -0,0 +1,15 @@
|
||||
The adaptor takes two arguments:
|
||||
|
||||
* an iterator to the range V on which the permutation
|
||||
will be applied
|
||||
* the reindexing scheme that defines how the
|
||||
elements of V will be permuted.
|
||||
|
||||
Note that the permutation iterator is not limited to strict
|
||||
permutations of the given range V. The distance between begin and end
|
||||
of the reindexing iterators is allowed to be smaller compared to the
|
||||
size of the range V, in which case the permutation iterator only
|
||||
provides a permutation of a subrange of V. The indexes neither need
|
||||
to be unique. In this same context, it must be noted that the past the
|
||||
end permutation iterator is completely defined by means of the
|
||||
past-the-end iterator to the indices.
|
Reference in New Issue
Block a user