
13 Jun
2005
13 Jun
'05
12:55 a.m.
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 classes. 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
Jonathan