Mike Bresnahan writes:
> CAVEAT: it doesn't actually have to be a hash table.  A tree of some
> sort meeting the no-malloc-calls requirement will work also.

Use an STL map with your own new/delete operator.  See the "Memory
Management" section of Scott Meyer's "Effective C++".

--
David Phillips <david at acz.org>
http://david.acz.org/


_______________________________________________
tclug-devel mailing list
tclug-devel at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-devel