diff --git a/include/boost/pending/integer_range.hpp b/include/boost/pending/integer_range.hpp index 7726936..3d396b4 100644 --- a/include/boost/pending/integer_range.hpp +++ b/include/boost/pending/integer_range.hpp @@ -15,7 +15,8 @@ #include -#if !defined(BOOST_MSVC) +#if 1 +// Still evaluating whether VC++ can handle this. #define BOOST_USE_ITERATOR_ADAPTORS #endif @@ -31,9 +32,9 @@ namespace boost { // Counting Iterator and Integer Range Class #ifdef BOOST_USE_ITERATOR_ADAPTORS +template struct counting_iterator_policies : public default_iterator_policies { - template const IntegerType& dereference(type, const IntegerType& i) const { return i; } @@ -51,7 +52,8 @@ struct counting_iterator_traits { template struct integer_range { #ifdef BOOST_USE_ITERATOR_ADAPTORS - typedef iterator_adaptor, counting_iterator_traits, IntegerType> iterator; #else typedef int_iterator iterator;