V
vertigo
Hello
i created map<myclass1*,myclass2*> object.
I have problem with find function. It only works when
myclass1* is string or int (it does not work for char* and myclass1*).
Is it normal or i have made mistake somewhere ?
How does find() compares objects ? Maybe i should have written some
compare() function ?
Thanx
Michal
i created map<myclass1*,myclass2*> object.
I have problem with find function. It only works when
myclass1* is string or int (it does not work for char* and myclass1*).
Is it normal or i have made mistake somewhere ?
How does find() compares objects ? Maybe i should have written some
compare() function ?
Thanx
Michal