comparison spp/src/pc.h @ 15:e689b83b0257 draft

Uploaded
author zzhou
date Tue, 27 Nov 2012 16:15:21 -0500
parents ce08b0efa3fd
children
comparison
equal deleted inserted replaced
14:918fecc1e7bb 15:e689b83b0257
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