Hacker News new | past | comments | ask | show | jobs | submit login

That's not a legal C++ cast, but it's conceivable that it could be made to work by casting to a reference type instead.



Badge could prevent this by making the copy and move constructors private.




Registration is open for Startup School 2019. Classes start July 22nd.

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

Search: