Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-08-28 11:23:48

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> 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).

 Jeremy Siek
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster ( office phone: (812) 855-3608

Boost list run by bdawes at, gregod at, cpdaniel at, john at