HashMap, fun

Eddie Kohler eddietwo at cag.lcs.mit.edu
Tue Aug 1 01:04:44 EDT 2000


Hi.

Did you call HashMap<X, Y>::each() ? You can't any more.

Check out (for example)

      elements/etherswitch/etherswitch.hh	line 36
      elements/etherswitch/etherswitch.cc	lines 35-37

to see the new way.

The LCS repository has been updated to compile correctly with the new HashMap.

This was necessary to prepare for moving to a better Hash table
implementation, for which the old each() interface wouldn't work at all.

love,
ed



More information about the click mailing list