Re:C++ macros to write a hashtable implementation
by khc on Saturday March 10, 2018 @04:58PM
(#16560382)
How is this a hashtable implementation?
[ Parent
| on HN ]
Re:C++ macros to write a hashtable implementation
by tytytytytytytyt on Saturday March 10, 2018 @08:29PM
(#16561185)
It's not, if you can tell the difference between implementing something and using/instantiating something.
Re:C++ macros to write a hashtable implementation
by stevemk14ebr on Saturday March 10, 2018 @05:55PM
(#16560583)
int i = HashTable::hash(r)
table[i].push_back(r);
they hash the data and use that as an index. So by def. That said it's pretty bare and missing _ALOT_