From 9389db9340a3fa2561e772e91a6cc04d96a67a8d Mon Sep 17 00:00:00 2001 From: Michel Morin Date: Wed, 13 Nov 2013 03:22:55 +0000 Subject: [PATCH] Merge r86524 (Correct broken links to C++ standard papers); fixes #9212 [SVN r86673] --- doc/iterator_categories.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/iterator_categories.html b/doc/iterator_categories.html index 809a12d..f8d7451 100644 --- a/doc/iterator_categories.html +++ b/doc/iterator_categories.html @@ -50,7 +50,7 @@ iterator categories. *i is convertible to T Forward Iterator - *i is T& (or const T& once issue + *i is T& (or const T& once issue 200 is resolved) Random Access Iterator @@ -61,7 +61,7 @@ iterator categories.

Because of the mixing of iterator traversal and dereference return type, many useful iterators can not be appropriately categorized. For example, vector<bool>::iterator is almost a random access iterator, but -the return type is not bool& (see issue +the return type is not bool& (see issue 96 and Herb Sutter's paper J16/99-0008 = WG21 N1185). Therefore, the iterators only meet the requirements of input iterator and output iterator. This is so nonintuitive that at least one implementation erroneously assigns @@ -74,7 +74,7 @@ integers when incremented and dereferenced (see Issue +value_type. Option 1) runs into the problems discussed in Issue 198, the reference will not be valid after the iterator is destroyed. Option 2) is therefore a better choice, but then we have a counting iterator that cannot be a random access iterator.