Hacker News new | past | comments | ask | show | jobs | submit login

C# will let you do something similar with the using statement.



but using "using" in C# has to be an explicit action from the programmer. In C++ it's the default behaviour for new values.




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

Search: