Constructor Exceptions
Pop quiz!
What happens if you throw an exception from within a constructor? Is the memory allocated for data members of the object automatically reclaimed?
I wanted to check this against the spec, but I haven't been able to find one!
What happens if you throw an exception from within a constructor? Is the memory allocated for data members of the object automatically reclaimed?
I wanted to check this against the spec, but I haven't been able to find one!
