Update the pool<T> class.
Change checked to marked.
Fix typo.
Add some definitions.
Eliminate most direct references to reg::free.
Make set_state( ) const.
Switch to querying state through the abstract interface.
Switch more lines to the abstract state interface.
More changes.
Remove final references to .state member of reg.