Assertion: class's function | /r/HasProperty | called at the end of the object's life
Facets:
value: automatically
type: MANNER
Source sentences:
text: But now, let's imagine that the class in the last example allocates dynamic memory to store the string it had as data member; in this case, it would be very useful to have a function called automatically at the end of the object's life in charge of releasing this memory.
text: But now, let's imagine that the class in the last example allocates dynamic memory to store the string it had as data member; in this case, it would be very useful to have a function called automatically at the end of the object's life in charge of releasing this memory.