Because node
is being used as the type of an array element, it needs to
support a default constructor. It is in node
's constructor that free
would be set:
node::node() : free(true) { }
However, the practical effect of initializing an array of nodes is equivalent to a for-loop through the array.
This page last modified on 24 January 2006.