diff --git a/filter_iterator.htm b/filter_iterator.htm index 2c5225c..65e7f27 100644 --- a/filter_iterator.htm +++ b/filter_iterator.htm @@ -61,7 +61,7 @@ template <class Predicate, class BaseIterator, class filter_iterator_generator { public: - typedef iterator_adaptor<...> type; // the resulting filter iterator type + typedef iterator_adaptor<...> type; // the resulting filter iterator type typedef ... policies_type; // the policies type for the iterator adaptor } @@ -124,21 +124,10 @@ appropriate type[1].
Default: std::iterator_traits<BaseIterator>::value_type - -Pointer -The pointer type of the resulting iterator, and in - particular, the result type of operator->(). - Typically the default for -this parameter is the appropriate type.
-Default: If Value was supplied, then Value*, -otherwise std::iterator_traits<BaseIterator>::pointer. - - Reference - The reference type of the resulting iterator, and in -particular, the result type of operator*(). Typically the default for +particular, the result type of operator*(). Typically the default for this parameter is the appropriate type.
Default: If Value is supplied, Value& is used. Otherwise std::iterator_traits<BaseIterator>::reference is @@ -146,8 +135,18 @@ used. -Category +Pointer +The pointer type of the resulting iterator, and in + particular, the result type of operator->(). + Typically the default for +this parameter is the appropriate type.
+Default: If Value was supplied, then Value*, +otherwise std::iterator_traits<BaseIterator>::pointer. + + + +Category The iterator_category type for the resulting iterator. Typically the default for this parameter is the appropriate type. If you override diff --git a/indirect_iterator.htm b/indirect_iterator.htm index f6f5b6e..13ac379 100644 --- a/indirect_iterator.htm +++ b/indirect_iterator.htm @@ -76,7 +76,7 @@ template <class BaseIterator, class indirect_iterator_generator { public: - typedef iterator_adaptor<...> type; // the resulting indirect iterator type + typedef iterator_adaptor<...> type; // the resulting indirect iterator type }; @@ -188,8 +188,8 @@ template <class BaseIterator, class indirect_iterator_pair_generator { public: - typedef iterator_adaptor<...> iterator; // the mutable indirect iterator type - typedef iterator_adaptor<...> const_iterator; // the immutable indirect iterator type + typedef iterator_adaptor<...> iterator; // the mutable indirect iterator type + typedef iterator_adaptor<...> const_iterator; // the immutable indirect iterator type }; diff --git a/projection_iterator.htm b/projection_iterator.htm index 9b60c0b..a96fea0 100644 --- a/projection_iterator.htm +++ b/projection_iterator.htm @@ -74,7 +74,7 @@ template <class iterator_adaptor<...>
type; // the resulting projection iterator type + typedef iterator_adaptor<...> type; // the resulting projection iterator type }; @@ -219,8 +219,8 @@ template <class iterator_adaptor<...> iterator; // the mutable projection iterator type - typedef iterator_adaptor<...> const_iterator; // the immutable projection iterator type + typedef iterator_adaptor<...> iterator; // the mutable projection iterator type + typedef iterator_adaptor<...> const_iterator; // the immutable projection iterator type }; diff --git a/reverse_iterator.htm b/reverse_iterator.htm index e50de1b..ec3d263 100644 --- a/reverse_iterator.htm +++ b/reverse_iterator.htm @@ -60,7 +60,7 @@ template <class iterator_adaptor<...> type; // the resulting reverse iterator type + typedef iterator_adaptor<...> type; // the resulting reverse iterator type }; diff --git a/transform_iterator.htm b/transform_iterator.htm index 6a13b04..63cecb1 100644 --- a/transform_iterator.htm +++ b/transform_iterator.htm @@ -63,7 +63,7 @@ template <class AdaptableUnaryFunction, class Iterator> class transform_iterator_generator { public: - typedef iterator_adaptor<...> type; + typedef iterator_adaptor<...> type; };