objects as key of map: why repetition being allowed?tuple comparison looks smarter. but can i use it if the class has arrays or other class data types ...
objects as key of map: why repetition being allowed?thanks Disch. it works now. [code]d<a.d[/code] makes it map. and [code]d<=a.d[/code] makes it multi...
objects as key of map: why repetition being allowed?[i][sub][b]LB[/b] wrote:[/sub][/i][quote] Maps only guard against duplicate keys. Duplicate values a...
objects as key of map: why repetition being allowed? [code] #include <iostream> #include <map> using namespace std; struct T { string s; dou...
delete pointer in other functiongot it. thank you both.
This user does not accept Private Messages