/* wrapper for std::unordered_map */ template struct hasher : public std::unary_function { hash_t operator () (const K &k) const { return hash (k); } }; template class hashmap : public map_wrapper >, K, V> { typedef map_wrapper >, K, V> base; public: hashmap () { } hashmap (const hashmap &m) : base(m) { } hashmap (copy, const hashmap &m) : base(COPY, m) { } hashmap (reader &r) : base(r) { } ~hashmap () { } hashmap &operator = (const hashmap &m) { base::operator = (m); return *this; } };