From 3fd1c4bc5d0eb522296383b05bd245def53dc9b6 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Thu, 4 Oct 2001 21:02:12 +0000 Subject: [PATCH] Changed projection_iterator to not rely on the default reference, working around a limitation of detail::iterator_traits [SVN r11340] --- include/boost/iterator_adaptors.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/iterator_adaptors.hpp b/include/boost/iterator_adaptors.hpp index 52fc730..96c60b8 100644 --- a/include/boost/iterator_adaptors.hpp +++ b/include/boost/iterator_adaptors.hpp @@ -12,6 +12,9 @@ // // Revision History: +// 04 Oct 2001 Jeremy Siek +// Changed projection_iterator to not rely on the default reference, +// working around a limitation of detail::iterator_traits. // 04 Oct 2001 David Abrahams // Applied indirect_iterator patch from George A. Heintzelman // Changed name of "bind" to "select" to avoid problems with MSVC. @@ -1054,7 +1057,7 @@ class projection_iterator_generator { typedef typename AdaptableUnaryFunction::result_type value_type; typedef projection_iterator_policies policies; public: - typedef iterator_adaptor type; + typedef iterator_adaptor type; }; template