38 #ifndef FCL_BROADPHASE_SPARSEHASHTABLE_H 39 #define FCL_BROADPHASE_SPARSEHASHTABLE_H 45 #include <unordered_map> 53 template<
typename U,
typename V>
57 template <
typename Key,
typename Data,
typename HashFnc,
58 template<
typename,
typename>
class TableT = unordered_map_hash_table>
63 typedef std::list<Data>
Bin;
64 typedef TableT<size_t, Bin>
Table;
74 void insert(Key key, Data value);
77 std::vector<Data> query(Key key)
const;
80 void remove(Key key, Data value);
TableT< size_t, Bin > Table
A hash table implemented using unordered_map.