hash_map.h

Go to the documentation of this file.
00001 /* Get hash_map, which is an extension to STL.
00002    In gcc before 3.2 we're fine with the #include; 3.3 and later
00003    put hash_map into the __gnu_cxx namespace. */
00004 
00005 #ifdef HAVE_CONFIG_H
00006 # include <config.h>
00007 #endif
00008 
00009 #ifdef HAVE_HASH_MAP
00010 # include <hash_map>
00011 namespace hashers {
00012   using std::hash_map;
00013   using std::hash;
00014 };
00015 #elif defined(HAVE_GNU_HASH_MAP)
00016 # include <ext/hash_map>
00017 namespace hashers {
00018   using __gnu_cxx::hash_map;
00019   using __gnu_cxx::hash;
00020 };
00021 #else
00022 # error "no hash_map found!"
00023 #endif
00024 

Generated on Thu Mar 27 19:04:14 2008 by  doxygen 1.4.6