¡@

Home 

c++ Programming Glossary: findpredicate

How can I negate a functor in C++ (STL)?

http://stackoverflow.com/questions/265228/how-can-i-negate-a-functor-in-c-stl

in C STL I have some function to find a value struct FindPredicate FindPredicate const SomeType t _t t bool operator SomeType t.. I have some function to find a value struct FindPredicate FindPredicate const SomeType t _t t bool operator SomeType t return t _t private.. v SomeType valueToFind return find_if v.begin v.end FindPredicate valueToFind v.end Now I would like to write a function that..