top | item 36681856

(no title)

colatkinson | 2 years ago

std::expected and a monadic interface for std::optional are very welcome changes. I've ended up with funky utility types to accomplish much the same thing in a couple projects, so an official interface is definitely nifty.

I remember reading that clang was finally shipping std as a module, albeit experimentally. So this ought to be an interesting couple of years for C++ -- though I suppose it remains to be seen to what degree the ecosystem will keep up with all these changes vs using headers/exceptions/the traditional ways of doing things.

discuss

order

jupp0r|2 years ago

From past experiences, it will take another decade or two for modules to get adapted to most existing code bases.