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

4 I mean `using x = a(b(), c())` if all functions return a disposable value will all three be disposed, or only the value returned by a and assigned to x?


Only the value assigned to x.




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

Search: