Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2004-03-17 13:24:34


On Wed, 17 Mar 2004 12:50:04 -0000, "John Maddock"
<john_at_[hidden]> wrote:

>> What
>> "remains" of the underlying VC installation, besides the linker etc.,
>> is the (non-)standard library. But that is detectable with certainty.
>
>Is it, how?

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?

--
Genny.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk