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

What is a C++ use case where RAII doesn't solve the problem better? I imagine one exists, but I've never encountered it in 20 years. Conversely, I've seen it used inappropriately for cleanup many times (which would be fine in C).



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

Search: