Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-09-01 12:42:53

Fernando Cacciola <fernando_cacciola_at_[hidden]> wrote:
> Joel de Guzman <djowel_at_[hidden]> wrote in message

>> There's a lot of experience with it in other languages. Why not leverage
>> that? Haskell::Maybe for instance.
> Do you know of anything else besides Haskell?


> I don't, and I took the time to investigate Maybe looking at Haskell
> programs using it.
> As Brian pointed out, it is not so easy to port Maybe to C++ because
> its usage is extensively supported by Haskell features that are
> not present in C++.
> The most fundamental point is that being Haskell a pure functional
> language there is no possibly undefined behaviour to worry about,
> so Maybe doesn't need to address this issue as optional<> does.


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at