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

C++ casts are safer. I think you are confusing concepts here.

There are C++-style casts that are compile-time errors that C would allow you to do in C style. For C everything is potentially a reinterpret cast basically.

C++ casts are safer than C's.



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

Search: