From 9d44d86416f8b25867960a4f5415d5fd0a54a4d3 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 23 Jan 2006 20:50:27 +0000 Subject: [PATCH] boost/config/stdlib/libstdcpp3.hpp: - libstdc++ has hashed containers and slist; they're just in a different place boost/graph/graph_utility.hpp, boost/pending/container_traits.hpp, boost/graph/adjacency_list.hpp: - Deal with weird placement of slist and hash_set [SVN r32384] --- include/boost/config/stdlib/libstdcpp3.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index 5cf5ef77..7bbe604f 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -62,3 +62,12 @@ // support is useless. # undef BOOST_HAS_LONG_LONG #endif + +#if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0 +# define BOOST_STD_EXTENSION_NAMESPACE __gnu_cxx +# define BOOST_HAS_SLIST +# define BOOST_HAS_HASH +# define BOOST_SLIST_HEADER +# define BOOST_HASH_SET_HEADER +# define BOOST_HASH_MAP_HEADER +#endif