
Just like you do now. Am I missing something? (With "that" I meant "the library"). In stdlib/dinkumware.hpp there's, for instance:
#if defined(_CPPLIB_VER) && (_CPPLIB_VER >= 306) // full dinkumware 3.06 and above
// the library is conforming; but some features // can't be used if the compiler is (real) VC6 // # if THIS_IS_REAL_VC6 /* defined BOOST_MSVC &&... */ # define BOOST_NO_STD_USE_FACET # define BOOST_HAS_TWO_ARG_USE_FACET ... # endif
#else
// <old version: has defects, regardless of the compiler>
# define BOOST_MSVC_STD_ITERATOR 1 # define BOOST_NO_STD_ITERATOR # define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS ...
#endif
Isn't that enough?
Sounds like it's close enough, it might fail for people with VC6 + Intel and an updated Dinkum library, but that'll just have to be too bad, changes in mainline cvs now. John.