comparison spp/src/pc.h @ 6:ce08b0efa3fd draft

Uploaded
author zzhou
date Tue, 27 Nov 2012 16:11:40 -0500
parents
children
comparison
equal deleted inserted replaced
5:608a8e0eac56 6:ce08b0efa3fd
1 #ifndef PC_H
2 #define PC_H 1
3 #include <functional>
4 //#include <hash_map.h>
5 #include <ext/hash_set>
6 #include <ext/hash_map>
7
8
9 namespace __gnu_cxx
10 {
11 template<> struct hash< std::string >
12 {
13 size_t operator()( const std::string& x ) const
14 {
15 return hash< const char* >()( x.c_str() );
16 }
17 };
18 }
19
20 #endif