Boost logo

Boost Users :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-06-12 19:55:06

Erik Charlebois wrote:
> Was trying to use boost::serialize on a stdext::hash_map (with VC++ 8)
> and noticed that BOOST_HAS_HASH is not defined in the standard library
> configuration header for dinkumware stl.
> Is this a bug in boost?

The documentation for BOOST_HAS_HASH says the following:

     Description: The C++ implementation provides the (SGI) hash_set or hash_map

Since the Dinkumware implementation is not compatible with the SGI interface,
the failure to define BOOST_HAS_HASH would seem to be correct.

It's a bit tricky to write code that works with both implementations,
particularly since the templates have different numbers of parameters.

> Erik Charlebois


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at