From 41c334d7185f7d3b8ffcad721e9347b3671290bf Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 4 Feb 2001 20:35:23 +0000 Subject: [PATCH] MWERKS bug workaround [SVN r8931] --- include/boost/iterator_adaptors.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/boost/iterator_adaptors.hpp b/include/boost/iterator_adaptors.hpp index ba1878d..f5351fe 100644 --- a/include/boost/iterator_adaptors.hpp +++ b/include/boost/iterator_adaptors.hpp @@ -9,6 +9,9 @@ // copyright notice appears in all copies. This software is provided // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. +// +// Revision History: +// 04 Feb 2001 MWERKS bug workaround #ifndef BOOST_ITERATOR_ADAPTOR_DWA053000_HPP_ #define BOOST_ITERATOR_ADAPTOR_DWA053000_HPP_ @@ -807,7 +810,11 @@ struct projection_iterators { void initialize(Iterator& x) { advance(x); } - void increment(Iterator& x) { + + // dwa 2/4/01 - The Iter template argument neccessary for compatibility with + // a MWCW bug workaround + template + void increment(Iter& x) { ++x; advance(x); }