philsquared/Catch — pull request #196 by phresnel (2013-09-09 13:17:42+00:00)
Title: fix missing operator== by using a member predicate instead

On at least one compiler (`g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)`),
including catch.hpp yields multiple

no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator<_Iterat
or, _Container>::operator* [with _Iterator = Catch::Ptr*, _Container = std::vector, std::allocator > >]() == __val’.

This commit fixes the issue by replacing the friend comparison operator with a functor.