From 4a34ab8b4d3f0f85160b269b330d68b3e66bbd7e Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 19 Feb 2001 22:58:12 +0000 Subject: [PATCH] Updated documentation [SVN r9283] --- include/boost/detail/iterator.hpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/include/boost/detail/iterator.hpp b/include/boost/detail/iterator.hpp index 29b4346..df8bf36 100644 --- a/include/boost/detail/iterator.hpp +++ b/include/boost/detail/iterator.hpp @@ -12,13 +12,18 @@ // // ...for all compilers and iterators // -// Additionally, if partial specialization is supported or X is not a pointer +// Additionally, if X is a pointer +// std::iterator_traits::pointer + +// Otherwise, if partial specialization is supported or X is not a pointer // std::iterator_traits::value_type -// -// And if partial specialization is supported or (X is not a pointer and the -// library isn't the VC6 standard library), // std::iterator_traits::pointer // std::iterator_traits::reference +// +// CAVEAT: When using the VC6 standard library, an iterator derived from +// std::iterator but not boost::iterator or from one supplied by the standard +// will always have pointer == const value_type* and reference == const +// value_type&, whether that's correct or not. // See http://www.boost.org for most recent version including documentation.