News for hackers. Stuff that matters.
Re:Seemingly impossible functional programs (2007) by hellofunk on Tuesday November 17, 2015 @05:30AM (#10580218)
Tagged unions are a pretty common exercise in C++, they don't require much code to implement.

As for Maybe, if it is basically an "optional" as in other languages, then the newer c++17 has <optional>, if I'm not mistaken.

There are no comments on this comment yet.