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

> If C++ gained the proper sum types

AFAIK "P2688 R5 Pattern Matching: match Expression" exists and is due C++29 (what actually matters is when it's accepted and implemented by compilers anyway)

Also, cheap bound checks (in Rust) are contingent to Rust's aliasing model.



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

Search: