This is particularly useful when using RAII (Resource Acquisition Is Initialization) principles, where creating an object acquires a resource (like starting a timer), and destroying the object releases the resource (like stopping the timer).
List of test tasks for team recruitment in ENG and RU versions