Boost logo

Boost :

From: Bryan Ross (bross_at_[hidden])
Date: 2002-08-28 15:09:27


Basically it's a "Yes/No/Maybe" type

Bryan Ross
Senior Software Engineer
23rd Century Marketing
425 E. Colorado Suite 500
Glendale, CA 91205
http://www.23rdcmg.com
bross_at_[hidden]
818-551-5700 x 236

For 3.9 cents/min Long Distance go to:
www.pulsartelecom.com

For 75% off Cellular Accessories go to:
www.affinitycellular.com

-----Original Message-----
From: Chuck Allison [mailto:cda_at_[hidden]]
Sent: Wednesday, August 28, 2002 12:46 PM
To: boost_at_[hidden]
Subject: Re: [boost] 3-state boolean type

Well... what is it?

----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, August 28, 2002 10:23 AM
Subject: Re: [boost] 3-state boolean type

>
> FWIW, I just encounted a need for tribool :)
>
> On Thu, 1 Aug 2002, Douglas Gregor wrote:
> gregod> I've just placed a 3-state boolean type in the sandbox,
> gregod> available
> gregod> here:
> gregod>
> gregod>
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost-sandbox/boost-sandb
ox/b
oost/tribool.hpp?rev=HEAD&content-type=text/vnd.viewcvs-markup
> gregod>
> gregod> The type, tribool, can be either true, false, or
> gregod> indeterminate. It follows the normal rules for 3-valued logic,

> gregod> and supports all boolean operations (==, !=, !, &&, ||),
> gregod> including conversions from bool and conversion to bool (via
> gregod> the safe_bool idiom).
> gregod>
>
> ----------------------------------------------------------------------
> Jeremy Siek http://php.indiana.edu/~jsiek/
> Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
> C++ Booster (http://www.boost.org) office phone: (812) 855-3608
> ----------------------------------------------------------------------
>
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


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