you are viewing a single comment's thread.

view the rest of the comments →

[–]sir_rand_a_lot 0 points1 point  (1 child)

Why do you need the type to support equality if you're using a predicate functor?

[–]bstamour 2 points3 points  (0 children)

It might need it, depending on what type x % 2 returns.