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

It’s runtime safe (I’m taking your word for it). In Rust this would be a compile time error.

Although, are any C++ compilers able to at least issue a warning in this case? It wouldn’t surprise me if they could.



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

Search: