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

Uploaded
author zzhou
date Tue, 27 Nov 2012 16:11:40 -0500
parents
children
line wrap: on
line source

#ifndef PC_H
#define PC_H 1
#include <functional>
//#include <hash_map.h>
#include <ext/hash_set>
#include <ext/hash_map>


namespace __gnu_cxx
{
        template<> struct hash< std::string >
        {
                size_t operator()( const std::string& x ) const
                {
                        return hash< const char* >()( x.c_str() );
                }
        };
}

#endif