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

Like I said:

> That's definitely not "immediately destroyed", there's operator<< being called between construction and destruction.



The point is that you have the option of using operator<<, but if you don't exercise that option, the temporary object is destroyed immediately.




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

Search: