Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2006-08-22 13:48:25


Pavel Vozenilek wrote:
> Dinkumware used in Borland BDS 2006 contains
> hash containers but Boost.Config does not know about it.
>
>
> dinkumware.hpp could be updated:
>
> #if (defined _CPPLIB_VER) && (_CPPLIB_VER >= 402)
> # ifdef __BORLANDC__
> // BDS 2006 STL has hash containers
> # define BOOST_HAS_HASH
> # endif
> #endif
>
>
> Possibly this is true for other systems than BCB
> but I do not have access to these.

I tried this with VC8 which also has Dinkumware's version of the hash
containers, but it breaks the only lib currently using BOOST_HAS_HASH
(serialization), so I'm not going to enable the macro for now.

BTW it's name is a little misleading: it should be more like
BOOST_HAS_SGI_HASH because it indicates the presence of a hash_map
compatible with the original SGI version.

I'm going to cc this to Robert, in case he thinks serialization could/should
support the Dinkumware hash containers.

John.


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