1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>Chapter 23. Boost.Tribool</title> 6<link rel="stylesheet" href="../../doc/src/boostbook.css" type="text/css"> 7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 8<link rel="home" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> 9<link rel="up" href="libraries.html" title="Part I. The Boost C++ Libraries (BoostBook Subset)"> 10<link rel="prev" href="lockfree/appendices.html" title="Appendices"> 11<link rel="next" href="tribool/tutorial.html" title="Tutorial"> 12</head> 13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 14<table cellpadding="2" width="100%"><tr> 15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td> 16<td align="center"><a href="../../index.html">Home</a></td> 17<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> 18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 20<td align="center"><a href="../../more/index.htm">More</a></td> 21</tr></table> 22<hr> 23<div class="spirit-nav"> 24<a accesskey="p" href="lockfree/appendices.html"><img src="../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tribool/tutorial.html"><img src="../../doc/src/images/next.png" alt="Next"></a> 25</div> 26<div class="chapter"> 27<div class="titlepage"><div> 28<div><h2 class="title"> 29<a name="tribool"></a>Chapter 23. Boost.Tribool</h2></div> 30<div><div class="author"> 31<h3 class="author"> 32<span class="firstname">Douglas</span> <span class="surname">Gregor</span> 33</h3> 34<code class="email"><<a class="email" href="mailto:dgregor%20-at-%20cs.indiana.edu">dgregor -at- cs.indiana.edu</a>></code> 35</div></div> 36<div><p class="copyright">Copyright © 2002-2004 Douglas Gregor</p></div> 37<div><div class="legalnotice"> 38<a name="id-1.3.24.1.3"></a><p>Use, modification and distribution is subject to the Boost 39 Software License, Version 1.0. (See accompanying file 40 <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p> 41</div></div> 42</div></div> 43<div class="toc"> 44<p><b>Table of Contents</b></p> 45<dl class="toc"> 46<dt><span class="section"><a href="tribool.html#tribool.introduction">Introduction</a></span></dt> 47<dt><span class="section"><a href="tribool/tutorial.html">Tutorial</a></span></dt> 48<dd><dl> 49<dt><span class="section"><a href="tribool/tutorial.html#id-1.3.24.4.2">Basic usage</a></span></dt> 50<dt><span class="section"><a href="tribool/tutorial.html#id-1.3.24.4.3">Renaming the indeterminate state</a></span></dt> 51<dt><span class="section"><a href="tribool/tutorial.html#id-1.3.24.4.4"><code class="computeroutput">tribool</code> input/output</a></span></dt> 52</dl></dd> 53<dt><span class="section"><a href="tribool/reference.html">Reference</a></span></dt> 54<dd><dl> 55<dt><span class="section"><a href="tribool/reference.html#header.boost.logic.tribool_hpp">Header <boost/logic/tribool.hpp></a></span></dt> 56<dt><span class="section"><a href="tribool/reference.html#header.boost.logic.tribool_fwd_hpp">Header <boost/logic/tribool_fwd.hpp></a></span></dt> 57<dt><span class="section"><a href="tribool/reference.html#header.boost.logic.tribool_io_hpp">Header <boost/logic/tribool_io.hpp></a></span></dt> 58</dl></dd> 59<dt><span class="section"><a href="tribool/tests.html">Testsuite</a></span></dt> 60<dd><dl><dt><span class="section"><a href="tribool/tests.html#tribool.tests.acceptance">Acceptance tests</a></span></dt></dl></dd> 61</dl> 62</div> 63<div class="section"> 64<div class="titlepage"><div><div><h2 class="title" style="clear: both"> 65<a name="tribool.introduction"></a>Introduction</h2></div></div></div> 66<p>The 3-state boolean library contains a single class, 67 <code class="computeroutput"><a class="link" href="boost/logic/tribool.html" title="Class tribool">boost::logic::tribool</a></code>, along with 68 support functions and operator overloads that implement 3-state 69 boolean logic. </p> 70</div> 71</div> 72<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 73<td align="left"><p><small>Last revised: May 03, 2007 at 03:28:53 GMT</small></p></td> 74<td align="right"><div class="copyright-footer"></div></td> 75</tr></table> 76<hr> 77<div class="spirit-nav"> 78<a accesskey="p" href="lockfree/appendices.html"><img src="../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tribool/tutorial.html"><img src="../../doc/src/images/next.png" alt="Next"></a> 79</div> 80</body> 81</html> 82