So I have my own defined class
class Node
{
public:
string name;
string getName() { return name; }
}
I want to use the STL set to store Nodes with the name member field as the comparison criterion.
So how do I use the STL set's templates to make this happen?

New Topic/Question
Reply




MultiQuote





|