<div dir="ltr"><div class="gmail_extra">One more doubt i had.
</div><div class="gmail_extra"><br></div><div class="gmail_extra">If suppose there is heirarchy of temporary objects like :</div><div class="gmail_extra"><br></div><div class="gmail_extra"><i>b(b(b(a()))) ;</i></div><div class="gmail_extra">
<br></div><div class="gmail_extra">and an exception occurs in the destructor of innermost object, should only the immediate parent object's destructor should be called or cleanup should occur </div><div class="gmail_extra">
for the whole heirarchy of parent objects? If so, should it be true if there is a function call somewhere in between the heirarchy like :</div><div class="gmail_extra"><br></div><div class="gmail_extra"><i>b(b(func(b(a))));</i></div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">Suyog Sarda </div><div class="gmail_extra"><br></div><div class="gmail_extra">  </div></div>