38 #ifndef BLOCXX_HASH_MULTI_MAP_HPP_INCLUDE_GUARD_
39 #define BLOCXX_HASH_MULTI_MAP_HPP_INCLUDE_GUARD_
40 #include "blocxx/BLOCXX_config.h"
41 #ifdef BLOCXX_HAVE_HASH_MAP
43 #define BLOCXX_HASH_MAP_NS std
44 #define HashMultiMap std::hash_multimap
45 #elif BLOCXX_HAVE_EXT_HASH_MAP
46 #include <ext/hash_map>
47 #define BLOCXX_HASH_MAP_NS __gnu_cxx
48 #define HashMultiMap __gnu_cxx::hash_multimap
52 #define BLOCXX_HASH_MAP_NS std
53 #define HashMultiMap std::multimap
56 #ifndef BLOCXX_HASH_SPECIALIZED_INCLUDE_GUARD_
57 #define BLOCXX_HASH_SPECIALIZED_INCLUDE_GUARD_
58 #if defined(BLOCXX_HAVE_HASH_MAP) || defined(BLOCXX_HAVE_EXT_HASH_MAP)
64 template<>
struct hash<BLOCXX_NAMESPACE::String>
68 return hash<const char*>()(s.
c_str());
75 #undef BLOCXX_HASH_MAP_NS
#define BLOCXX_HASH_MAP_NS
This String class is an abstract data type that represents as NULL terminated string of characters...
const char * c_str() const