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

Hi, I am the author of the article. Regarding RAII, what I mention in the article is that it is ok to provide RAII wrappers as long as you also provide C++ wrappers for the non-RAII plain structs and functions from C. I think this is the best way to satisfy everyone.

When it comes to exceptions and rtti the sad reality is that about 50% of the C++ community doesn't use (for one reason or another), so if you do use them in a library it can have an impact.



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

Search: