Boost logo

Boost :

From: Chuck Allison (cda_at_[hidden])
Date: 2002-08-28 14:45:43


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, available
> gregod> here:
> gregod>
> gregod>
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost-sandbox/boost-sandbox/b
oost/tribool.hpp?rev=HEAD&content-type=text/vnd.viewcvs-markup
> gregod>
> gregod> The type, tribool, can be either true, false, or indeterminate. It
> gregod> follows the normal rules for 3-valued logic, and supports all
> gregod> boolean operations (==, !=, !, &&, ||), including conversions from
> gregod> bool and conversion to bool (via 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
>


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