Mail Archives: djgpp/1997/11/11/08:34:08
Thanks for anyone who can and will answer this:
I have a hash table template. It, of course, has a "find"
functions, which has the following decleration:
T* find (const H& index) const
I also have a Token class which I would like to initialize
like this:
Token *t = new Token();
and then pas it to the function find.
when I try find(t) the compiler, of course, complains about
the type mismatch, but when I try find(*t) the compiler
gives a linking error message (see my previous previous
message) and when I run symify it points to ths line which
contains this operation (find(*t))!!!!
How will I use "find"?
Ofer.
- Raw text -