From 7f43c682dbb3b3b5f6cd02fa8d6dccb3fb742ff6 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 5 Sep 2001 16:29:29 +0000 Subject: [PATCH] Fixed the pair_generator documentation. Order of parameters was wrong; reordered the table to match the corrected order. [SVN r11035] --- indirect_iterator.htm | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/indirect_iterator.htm b/indirect_iterator.htm index a4ec9e5..04fb5c5 100644 --- a/indirect_iterator.htm +++ b/indirect_iterator.htm @@ -203,10 +203,10 @@ explicit indirect_iterator_generator::type(const BaseIterator& it)
-template <class BaseIterator,
-          class Value, class Pointer, class Reference,
-          class ConstPointer, class ConstReference>
-class indirect_iterator_pair_generator
+  template <class BaseIterator,
+            class Value, class Reference, class ConstReference, 
+            class Category, class Pointer, class ConstPointer>
+  struct indirect_iterator_pair_generator;
 {
 public:
   typedef operator*().
Default: Value& - - Pointer - - The pointer type of the resulting iterator, and - in particular, the result type of its operator->().
- Default: Value* - ConstReference @@ -307,6 +300,19 @@ b,c,d,e,f,g,h, operator*().
Default: const Value& + + Category + The iterator_category type for the resulting iterator.
+ Default: + std::iterator_traits<BaseIterator>::iterator_category + + + Pointer + + The pointer type of the resulting iterator, and + in particular, the result type of its operator->().
+ Default: Value* + ConstPointer @@ -314,11 +320,6 @@ b,c,d,e,f,g,h, and in particular, the result type of its operator->().
Default: const Value* - - Category - The iterator_category type for the resulting iterator.
- Default: - std::iterator_traits<BaseIterator>::iterator_category

Concept Model