Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
C++26: `Std:Optional<T&>` (sandordargo.com)
14 points by ashvardanian 4 months ago | hide | past | favorite | 2 comments


The assign operator rebinding is yet another thing that behaves slightly different from the rest of the language.


Very exciting. It’s less reason to use raw pointers in the language unless you are working with legacy APIs.




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

Search: