fix iterator doc

Fri, 07 Jul 2023 18:29:00 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 07 Jul 2023 18:29:00 +0200
changeset 740
378578666c83
parent 739
529c35a768f3
child 741
1210ee2d755f

fix iterator doc

src/cx/iterator.h file | annotate | diff | comparison | revisions
     1.1 --- a/src/cx/iterator.h	Fri Jul 07 18:20:07 2023 +0200
     1.2 +++ b/src/cx/iterator.h	Fri Jul 07 18:29:00 2023 +0200
     1.3 @@ -204,13 +204,13 @@
     1.4  
     1.5  /**
     1.6   * Iterator value type.
     1.7 - * An iterator points to a certain element in an (possibly unbounded) chain of elements.
     1.8 + * An iterator points to a certain element in a (possibly unbounded) chain of elements.
     1.9   * Iterators that are based on collections (which have a defined "first" element), are supposed
    1.10   * to be "position-aware", which means that they keep track of the current index within the collection.
    1.11   *
    1.12   * @note Objects that are pointed to by an iterator are always mutable through that iterator. However,
    1.13   * this iterator cannot mutate the collection itself (add or remove elements) and any mutation of the
    1.14 - * collection by other means make this iterator invalid (regardless of what cxIteratorValid() returns).
    1.15 + * collection by other means makes this iterator invalid (regardless of what cxIteratorValid() returns).
    1.16   *
    1.17   * @see CxMutIterator
    1.18   */

mercurial