It has to be a standalone function, not a method. If you want it to be a method of your class, you have to omit the second parameter (const Node& n).
It has to be a standalone function, not a method. If you want it to be a method of your class, you have to omit the second parameter (const Node& n).
Bookmarks