Re: [boost] New Library Proposal: dual_state

-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Fernando Cacciola Sent: Tuesday, July 12, 2005 1:27 AM To: boost@lists.boost.org Subject: Re: [boost] New Library Proposal: dual_state
"Jost, Andrew" <Andrew_Jost@mentor.com> escribió en el mensaje news:8F7931C35114FA4F9D25E1A9299408E20276DFA7@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

Jost, Andrew wrote:
[SNIPPED] 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.
Oops, thanks for the report. Fernando Cacciola SciSoft
participants (2)
-
Fernando Cacciola
-
Jost, Andrew