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

Please correct me if I am wrong, but RAII isn't flexible enough to allow for lazy initialization. the various STL pointer types (std::shared_ptr etc..) are great, but they do incur overhead, and sometimes that is not acceptable in e.g. embedded systems.


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

Search: