N
newbie
say I have a set containing pairs.
set< pair<AbstractClass*, double> > container;
container.insert(pair <objectPtrA, 0.0> );
....
....
at here, I don't know what is the value in that pair, but I do want to
erase that pair, may I do that?
set< pair<AbstractClass*, double> > container;
container.insert(pair <objectPtrA, 0.0> );
....
....
at here, I don't know what is the value in that pair, but I do want to
erase that pair, may I do that?