Popping mad <
rai...@colition.gov> wrote:
> euler.cpp|113 col 28| error: comparison between distinct pointer types
> ???tree::Predicate<int, int>*??? and ???tree::Node<int>*??? lacks a cast
You are comparing pointers, not values.
Are you sure you didn't intend to write "*ptr1 == *ptr2"
instead of "ptr1 == ptr2"?