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

I wish C++'s optional was less of a compromise. It would be great if it had specialization for sentinel values, like Rust. As-is it can be pretty wasteful in data structures.


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

Search: