#ifndef AUX_H // -*- c++ -*- #define AUX_H // Deal with deficiencies of the C++ library. #if __GNUC__ >= 3 //# include # include # define hash_map map #else # include # include namespace std { template <> struct hash { size_t operator()(const std::string& __s) const { return __stl_hash_string(__s.c_str()); } }; template <> struct hash { size_t operator()(const void* value) const { return reinterpret_cast(value); } }; } #endif #endif