Boost logo

Boost :

From: Jost, Andrew (Andrew_Jost_at_[hidden])
Date: 2005-07-12 23:46:47


> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Fernando Cacciola
> Sent: Tuesday, July 12, 2005 1:27 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] New Library Proposal: dual_state
>
>
> "Jost, Andrew" <Andrew_Jost_at_[hidden]> escribió en el
> mensaje
> news:8F7931C35114FA4F9D25E1A9299408E20276DFA7_at_SVR-ORW-EXC-06.m
> gc.mentorg.com...
> >> Boost.Optional has some interaction with (including initialization
> >> from) boost::none, which seems to correspond to your "undef".
> >
> > Good point, but I would also like to see overloaded == and !=
> > operators using boost::none.
> >
> That is already supported.

I think this is another documentation problem. http://www.boost.org/libs/optional/doc/optional.html shows a constructor and operator= using boost::none, but no operators == or !=. But you are right that the functionality is supported in the library.

>
> Fernando Cacciola
> SciSoft
>
>
>
>


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