> Your operators are likely not being called because they are of the > incorrect signature. > > ... > Actually, the reason the operator< is not being invoked is because the way it's defined, it compares a Node object to a NodePtr: