|
Boost : |
Subject: [boost] What about "Maybe" ?
From: Arnaud Masserann (arnaud1602_at_[hidden])
Date: 2009-12-20 20:48:42
Hi,
Is there any interest for a "Maybe" utility class, like the one in Haskell ?
For those who don't know about Maybe, here is the Haskell ref :
http://www.haskell.org/ghc/docs/6.10.4/html/libraries/base/Prelude.html#t%3AMaybe
And a code snippet showing its use :
http://pastebin.com/m3a590d6e
Arnaud
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk