235. No specification of default ctor for reverse_iterator

Section: [reverse.iterator] Status: CD1 Submitter: Dietmar Kühl Opened: 2000-04-24 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all other issues in [reverse.iterator].

View all issues with CD1 status.


The declaration of reverse_iterator lists a default constructor. However, no specification is given what this constructor should do.

Proposed resolution:

In section [reverse.iter.cons] add the following paragraph:


Default initializes current. Iterator operations applied to the resulting iterator have defined behavior if and only if the corresponding operations are defined on a default constructed iterator of type Iterator.

[pre-Copenhagen: Dietmar provide wording for proposed resolution.]