Extends.
I thought I was being cool when I did something like:
bool hasParent() { return this->parentNode ; }
Even with a (bool) cast, the
It would be more efficient to write:
bool hasParent() { return this->parentNode != NULL; }