Hacker News new | past | comments | ask | show | jobs | submit login

Does anyone have a nice implementation of the Maybe Monad for C++ ?



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.




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

Search: