[Click] hashmap
Bart Braem
bart.braem at ua.ac.be
Mon Mar 14 08:28:20 EST 2005
Op maandag 14 maart 2005 14:24, schreef u:
> Like Alan I am trying to use the hashmap from click.
> As key value I use an unsgined (hash of ipaddress). As value for each key I
> use a self written class called Userinfo. When I compile this, the compiler
> gives some errors about undefined references.
Did you use the macro magic?
#include <click/bighashmap.cc>
#if EXPLICIT_TEMPLATE_INSTANCES
template class HashMap<unsigned, Userinfo>;
#endif
That solved the problem for here...
Wkr,
Bart
More information about the click
mailing list