visual studio of some vintage hated the NEXT_NODE class constant and insisted that it needed to be static if it has an initializer, so that's what it got.
//hmmm: clean up all children?
~singly_linked_list() {}
//hmmm: clean up all children?
~singly_linked_list() {}
- const int NEXT_NODE = 0; // symbol for the rest of the list linked here.
+ // symbol for the rest of the list linked here.
+ static const int NEXT_NODE = 0;
int elements() const;
//!< returns the number of items currently in the list, including this node.
int elements() const;
//!< returns the number of items currently in the list, including this node.