Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-05-11 11:21:29

On 05/11/2005 10:45 AM, Gennadiy Rozental wrote:
>>I've had a need for tracking a class' instances for
>>some time now. I've used:
> Could you give two lines rationale for what it is doing and how it's doing
> it?
The CTOR simply records each instance in a class set and the DTOR
removes it. The superclass assigns a unique ID to the instance.


It's really very simple, but I've seen the equivalent used in several
memory managements test; hence, I thought it would a candidate for

Boost list run by bdawes at, gregod at, cpdaniel at, john at