class Predicate { public: bool operator() (const M& lhs, const M& rhs) { return lhs.somedata < rhs.somedata; }
M myVar; // M is your data class/struct Vector<M> myVect; FindBinary(myVect, myVar, Predicate())
Report message to a moderator