I've a some class where I'm declaring a set like this:
std::set<UPFIR::RetentionSignal*> _retSignalSet;
I'm trying to use std::less compare function on it. I tried something like this:
std::set<UPFIR::RetentionSignal*, std::less<UPFIR::RetentionSignal*>> _retSignalSet;
The feedback I'm getting is "adding std::less wont make it determinism. You have to compare the name", Can somebody explain me how can this be accomplished as I haven't worked with std::less before?
Thanks