Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In addition to knz42's answer, note that destructors for temporary objects are always delayed until the end of the statement, at which point they run in the reverse of the order of the corresponding constructors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: