Hacker News new | ask | show | jobs
by Bjoern 4807 days ago
Does anyone have a nice implementation of the Maybe Monad for C++ ?
1 comments

There are a ton floating around, they just aren't terribly useful because every type is by default nullable. So even standard library functions can return null. You might be able to make your own code a little safer, but you still have to null check everything.