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

It that is your intent, then build an immutable class with some friends to initialize the object if necessary. The const thing is so overloaded in C++ that is means close to nothing in terms of intent, and it can be easy circumvented.


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

Search: