Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-01-26 11:50:51

For the Dinkumware library supplied with VC, BOOST_STD_EXTENSION_NAMESPACE
is defined to be std wich works, but the latest version that comes with
VC7.1 deprecates the version in the std namespace and provides a version in
the stdext namespace. The problem is that:

#include <hash_map>
#include <boost/config.hpp>

int main()
   BOOST_STD_EXTENSION_NAMESPACE::hash_map< std::string, int >
   hm[ "Alles" ] = 3;
   hm[ "Liebe" ] = 7;
   hm[ "Solange" ] = -5;

   return( 0 );

will generate too many 'deprecated function' warnings in VC7.1, making it
harder to find actual errors! I therefore propose to add the following to
dinkumware.hpp [line 45]:

#elf defined(_CPPLIB_VER) && (_CPPLIB_VER >= 313)
#else // line 47 ...


It's fast, it's easy and it's free. Get MSN Messenger today!

Boost list run by bdawes at, gregod at, cpdaniel at, john at