From 029bc59d74db018e5a286883ab61a7650a61980e Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 18 Feb 2001 22:23:13 +0000 Subject: [PATCH] Added some missing 'explicit's [SVN r9265] --- indirect_iterator.htm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/indirect_iterator.htm b/indirect_iterator.htm index 4bb3896..394e8f8 100644 --- a/indirect_iterator.htm +++ b/indirect_iterator.htm @@ -185,7 +185,7 @@ int main(int, char*[]) "http://www.sgi.com/tech/stl/RandomAccessIterator.html">Random Access Iterator concept. In addition it has the following constructor:
-indirect_iterator_generator::type(const BaseIterator& it)
+explicit indirect_iterator_generator::type(const BaseIterator& it)
 


@@ -342,8 +342,8 @@ b,c,d,e,f,g,h,
-indirect_iterator_pair_generator::iterator(const BaseIterator& it)
-indirect_iterator_pair_generator::const_iterator(const BaseIterator& it)
+explicit indirect_iterator_pair_generator::iterator(const BaseIterator& it)
+explicit indirect_iterator_pair_generator::const_iterator(const BaseIterator& it)
 

@@ -403,7 +403,6 @@ a,b,c,d,e,f,g, specialization and the base iterator or its value_type is a builtin pointer type, you will not be able to use the default for Value and will need to specify this type explicitly. -

[3]There is a caveat to which concept the indirect iterator can model. If the return type of the @@ -420,6 +419,7 @@ a,b,c,d,e,f,g, "http://www.sgi.com/tech/stl/RandomAccessIterator.html">Random Access Iterator. +


Revised 10