diff --git a/doc/TODO b/doc/TODO index 6f6a367..6d9b3a4 100644 --- a/doc/TODO +++ b/doc/TODO @@ -173,6 +173,9 @@ t49 test non-invalidation of the iterators after call to methods such as insert t50 add assign methods with capacity parameter +t51 docs: add troubleshooting section for VC6: amend #define _VIRTUAL + in xlocnum header + ------------------------------------------------------------------------------- Some routine tasks: diff --git a/include/boost/circular_buffer.hpp b/include/boost/circular_buffer.hpp index 6c3bb81..3127295 100644 --- a/include/boost/circular_buffer.hpp +++ b/include/boost/circular_buffer.hpp @@ -13,6 +13,7 @@ #pragma once #endif +#include "circular_buffer_fwd.hpp" #include // BOOST_CB_ENABLE_DEBUG - debug support control. @@ -39,7 +40,7 @@ #endif // BOOST_CB_IS_CONVERTIBLE - check if Iterator::value_type is convertible to Type. -#if BOOST_WORKAROUND(__BORLANDC__, <= 0x0550) || BOOST_WORKAROUND(__MWERKS__, <= 0x2407) +#if BOOST_WORKAROUND(__BORLANDC__, <= 0x0550) || BOOST_WORKAROUND(__MWERKS__, <= 0x2407) || BOOST_WORKAROUND(BOOST_MSVC, < 1300) #define BOOST_CB_IS_CONVERTIBLE(Iterator, Type) ((void)0) #else #include @@ -65,7 +66,6 @@ #define BOOST_CB_UNWIND(action) } catch(...) { action; throw; } #endif -#include "circular_buffer_fwd.hpp" #include "circular_buffer/debug.hpp" #include "circular_buffer/details.hpp" #include "circular_buffer/base.hpp"