Hacker News new | ask | show | jobs
by bluejekyll 2615 days ago
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.