Eq(5).MatchAndExplain(x, listener) doesn't compile, as Eq(5) is a
polymorphic matcher.
We should provide a helper function template s.t. a user can write:
MatchAndExplain(Eq(5), x, listener)
similar to how he can write:
Matches(Eq(5))(x)
This is especially useful when writing MATCHER* definitions.
Original issue reported on code.google.com by w...@google.com on 1 Feb 2010 at 6:00
Original issue reported on code.google.com by
w...@google.com
on 1 Feb 2010 at 6:00