From 8b92c8a085b37a5d98a4a0ffb622cb092d77a89b Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sat, 17 Feb 2001 01:51:45 +0000 Subject: [PATCH] adjusted requirements for value type of the base iterator [SVN r9236] --- indirect_iterator.htm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/indirect_iterator.htm b/indirect_iterator.htm index ba4933c..1b42cd0 100644 --- a/indirect_iterator.htm +++ b/indirect_iterator.htm @@ -126,9 +126,11 @@ int main(int, char*[]) BaseIterator - The iterator type being wrapped. The value_type of the - base iterator should itself be dereferenceable (a Trivial Iterator). + The iterator type being wrapped. The value_type + of the base iterator should itself be dereferenceable. + Also, if the default Value template + parameter is used, the value_type must provide + a specialization of iterator_traits. Value @@ -253,8 +255,10 @@ b,c,d,e,f,g,h, BaseIterator The iterator type being wrapped. The value_type of the - base iterator should itself be dereferenceable (a Trivial Iterator). + base iterator should itself be dereferenceable. + Also, if the default Value template + parameter is used, the value_type must provide + a specialization of iterator_traits. Value @@ -394,4 +398,4 @@ a,b,c,d,e,f,g, --> - \ No newline at end of file +