BOOST_HAS_HASH not defined in config\stdlib\dinkumware.hpp?

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? In the meantime I'll just define it in my makefile. Erik Charlebois

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
participants (2)
-
Erik Charlebois
-
Jonathan Turkanis