14 mutable int ref_count;
if you derive your class from this class, a ref_ptr will do reference counting in the inhereted ref_c...
ref_counted()
constructor initializes the count to 0
int get_ref_count() const
read access to current count
void set_ref_count(int c) const
write access is also const to allow ref counted pointers to const instances
struct used to make ref pointers to ref_counted friends of ref_counted