C++26: `Std:Optional<T&>`

(sandordargo.com)

14 points | by ashvardanian 2 days ago ago

2 comments

  • z_open 2 days ago ago

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

  • sail0rm00n 2 days ago ago

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