38 #ifndef HPP_FCL_BROADPHASE_SPARSEHASHTABLE_H 39 #define HPP_FCL_BROADPHASE_SPARSEHASHTABLE_H 44 #include <unordered_map> 51 template <
typename U,
typename V>
53 typedef std::unordered_map<U, V>
Base;
60 template <
typename Key,
typename Data,
typename HashFnc,
65 typedef std::list<Data>
Bin;
66 typedef TableT<size_t, Bin>
Table;
77 void insert(Key key, Data value);
80 std::vector<Data> query(Key key)
const;
83 void remove(Key key, Data
value);
TableT< size_t, Bin > Table
unordered_map_hash_table()
std::unordered_map< U, V > Base
A hash table implemented using unordered_map.