i'm compiling in g++ and there is an avaialble hashtable.h that references stl_hashtable.h. it is a parameterized hashtable but i'm having trouble understanding the template parameters. if ya'll can help me out, i'd appreciate it.
template <class _Val, class _Key, class _HashFcn,
class _ExtractKey, class _EqualKey, class _Alloc = alloc> class hashtable;
i don't understand the _HashFcn, _ExtractKey, and _EqualKey parameters. Can someone please explain what i need to do to instantiate a hashtable object.
Thanks.
template <class _Val, class _Key, class _HashFcn,
class _ExtractKey, class _EqualKey, class _Alloc = alloc> class hashtable;
i don't understand the _HashFcn, _ExtractKey, and _EqualKey parameters. Can someone please explain what i need to do to instantiate a hashtable object.
Thanks.