A generic hash table
Posted Aug 17, 2012 8:18 UTC (Fri) by
jzbiciak (
✭ supporter ✭, #5246)
In reply to:
A generic hash table by HelloWorld
Parent article:
A generic hash table
template<typename T> bool max(T x, T y) { return x > y ? x : y; }
Erm... I don't think that's the right return type, unless you want max(a, max(b, c)) to have rather unusual semantics.
(
Log in to post comments)