mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-20 16:12:10 +02:00
MWERKS bug workaround
[SVN r8931]
This commit is contained in:
@ -9,6 +9,9 @@
|
|||||||
// copyright notice appears in all copies. This software is provided
|
// copyright notice appears in all copies. This software is provided
|
||||||
// "as is" without express or implied warranty, and with no claim as
|
// "as is" without express or implied warranty, and with no claim as
|
||||||
// to its suitability for any purpose.
|
// to its suitability for any purpose.
|
||||||
|
//
|
||||||
|
// Revision History:
|
||||||
|
// 04 Feb 2001 MWERKS bug workaround
|
||||||
|
|
||||||
#ifndef BOOST_ITERATOR_ADAPTOR_DWA053000_HPP_
|
#ifndef BOOST_ITERATOR_ADAPTOR_DWA053000_HPP_
|
||||||
#define BOOST_ITERATOR_ADAPTOR_DWA053000_HPP_
|
#define BOOST_ITERATOR_ADAPTOR_DWA053000_HPP_
|
||||||
@ -807,7 +810,11 @@ struct projection_iterators {
|
|||||||
void initialize(Iterator& x) {
|
void initialize(Iterator& x) {
|
||||||
advance(x);
|
advance(x);
|
||||||
}
|
}
|
||||||
void increment(Iterator& x) {
|
|
||||||
|
// dwa 2/4/01 - The Iter template argument neccessary for compatibility with
|
||||||
|
// a MWCW bug workaround
|
||||||
|
template <class Iter>
|
||||||
|
void increment(Iter& x) {
|
||||||
++x;
|
++x;
|
||||||
advance(x);
|
advance(x);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user