Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2004-03-30 11:51:40


On Mon, 29 Mar 2004 23:23:24 +0200, JOAQUIN LOPEZ MU?Z
<joaquin_at_[hidden]> wrote:

>In the rationale of Boost.Optional, optional<T>
>is proposed as a convenient replacement of the
>time-honored practice of returning a
>std::pair<T,bool> with the bool indicating
>whether the T object is meaningful or not.

It's not that honored, I think. At least once you know
Barton-Nackman's Fallible ;)

Genny.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk