Reference Counted String Class (4 of 4)
my_string::~my_string()
{
if (--st -> ref_cnt == 0)
delete st;
}
Previous slide
Next slide
Back to first slide
View graphic version