From a673bc6e82522e83b48d493cbf94ab563f4381dd Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Thu, 18 Jan 2001 21:20:42 +0000 Subject: [PATCH] Broken iterator fix needs to apply to the Intel compiler too, because it uses the MSVC library [SVN r8639] --- include/boost/array.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/array.hpp b/include/boost/array.hpp index 5200f60..874cc34 100644 --- a/include/boost/array.hpp +++ b/include/boost/array.hpp @@ -48,11 +48,11 @@ namespace boost { const_iterator end() const { return elems+N; } // reverse iterator support -#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) +#if !defined(BOOST_MSVC_STD_ITERATOR) typedef std::reverse_iterator reverse_iterator; typedef std::reverse_iterator const_reverse_iterator; #else - // workaround for broken reverse_iterator implementations due to no partial specialization + // workaround for broken reverse_iterator implementations typedef std::reverse_iterator reverse_iterator; typedef std::reverse_iterator const_reverse_iterator; #endif