| [29] | 1 | <html> | 
|---|
 | 2 | <head> | 
|---|
 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | 
|---|
 | 4 | <title>Chapter 17. Boost.Tribool</title> | 
|---|
 | 5 | <link rel="stylesheet" href="boostbook.css" type="text/css"> | 
|---|
 | 6 | <meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> | 
|---|
 | 7 | <link rel="start" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> | 
|---|
 | 8 | <link rel="up" href="libraries.html" title="Part I. The Boost C++ Libraries (BoostBook Subset)"> | 
|---|
 | 9 | <link rel="prev" href="boost_tr1/testing.html" title=" Testing"> | 
|---|
 | 10 | <link rel="next" href="tribool/tutorial.html" title="Tutorial"> | 
|---|
 | 11 | </head> | 
|---|
 | 12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> | 
|---|
 | 13 | <table cellpadding="2" width="100%"> | 
|---|
 | 14 | <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td> | 
|---|
 | 15 | <td align="center"><a href="../../index.htm">Home</a></td> | 
|---|
 | 16 | <td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> | 
|---|
 | 17 | <td align="center"><a href="../../people/people.htm">People</a></td> | 
|---|
 | 18 | <td align="center"><a href="../../more/faq.htm">FAQ</a></td> | 
|---|
 | 19 | <td align="center"><a href="../../more/index.htm">More</a></td> | 
|---|
 | 20 | </table> | 
|---|
 | 21 | <hr> | 
|---|
 | 22 | <div class="spirit-nav"> | 
|---|
 | 23 | <a accesskey="p" href="boost_tr1/testing.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="tribool/tutorial.html"><img src="images/next.png" alt="Next"></a> | 
|---|
 | 24 | </div> | 
|---|
 | 25 | <div class="chapter" lang="en"> | 
|---|
 | 26 | <div class="titlepage"><div> | 
|---|
 | 27 | <div><h2 class="title"> | 
|---|
 | 28 | <a name="tribool"></a>Chapter 17. Boost.Tribool</h2></div> | 
|---|
 | 29 | <div><div class="author"> | 
|---|
 | 30 | <h3 class="author"> | 
|---|
 | 31 | <span class="firstname">Douglas</span> <span class="surname">Gregor</span> | 
|---|
 | 32 | </h3> | 
|---|
 | 33 | <code class="email"><<a href="mailto:dgregor%20-at-%20cs.indiana.edu">dgregor -at- cs.indiana.edu</a>></code> | 
|---|
 | 34 | </div></div> | 
|---|
 | 35 | <div><p class="copyright">Copyright © 2002-2004 Douglas Gregor</p></div> | 
|---|
 | 36 | <div><div class="legalnotice"> | 
|---|
 | 37 | <a name="id1816770"></a><p>Use, modification and distribution is subject to the Boost | 
|---|
 | 38 |     Software License, Version 1.0. (See accompanying file | 
|---|
 | 39 |     <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> | 
|---|
 | 40 | </div></div> | 
|---|
 | 41 | </div></div> | 
|---|
 | 42 | <div class="toc"> | 
|---|
 | 43 | <p><b>Table of Contents</b></p> | 
|---|
 | 44 | <dl> | 
|---|
 | 45 | <dt><span class="section"><a href="tribool.html#tribool.introduction">Introduction</a></span></dt> | 
|---|
 | 46 | <dt><span class="section"><a href="tribool/tutorial.html">Tutorial</a></span></dt> | 
|---|
 | 47 | <dd><dl> | 
|---|
 | 48 | <dt><span class="section"><a href="tribool/tutorial.html#id1816834">Basic usage</a></span></dt> | 
|---|
 | 49 | <dt><span class="section"><a href="tribool/tutorial.html#id1817306">Renaming the indeterminate state</a></span></dt> | 
|---|
 | 50 | <dt><span class="section"><a href="tribool/tutorial.html#id1817393"><code class="computeroutput">tribool</code> input/output</a></span></dt> | 
|---|
 | 51 | </dl></dd> | 
|---|
 | 52 | <dt><span class="section"><a href="tribool/reference.html">Reference</a></span></dt> | 
|---|
 | 53 | <dd><dl> | 
|---|
 | 54 | <dt><span class="section"><a href="tribool/reference.html#header.boost.logic.tribool.hpp">Header <boost/logic/tribool.hpp></a></span></dt> | 
|---|
 | 55 | <dt><span class="section"><a href="tribool/reference.html#header.boost.logic.tribool_fwd.hpp">Header <boost/logic/tribool_fwd.hpp></a></span></dt> | 
|---|
 | 56 | <dt><span class="section"><a href="tribool/reference.html#header.boost.logic.tribool_io.hpp">Header <boost/logic/tribool_io.hpp></a></span></dt> | 
|---|
 | 57 | </dl></dd> | 
|---|
 | 58 | <dt><span class="section"><a href="tribool/tests.html">Testsuite</a></span></dt> | 
|---|
 | 59 | <dd><dl><dt><span class="section"><a href="tribool/tests.html#tribool.tests.acceptance">Acceptance tests</a></span></dt></dl></dd> | 
|---|
 | 60 | </dl> | 
|---|
 | 61 | </div> | 
|---|
 | 62 | <div class="section" lang="en"> | 
|---|
 | 63 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> | 
|---|
 | 64 | <a name="tribool.introduction"></a>Introduction</h2></div></div></div> | 
|---|
 | 65 | <p>The 3-state boolean library contains a single class, | 
|---|
 | 66 |     <code class="computeroutput"><a href="boost/logic/tribool.html" title="Class tribool">boost::logic::tribool</a></code>, along with | 
|---|
 | 67 |     support functions and operator overloads that implement 3-state | 
|---|
 | 68 |     boolean logic. </p> | 
|---|
 | 69 | </div> | 
|---|
 | 70 | </div> | 
|---|
 | 71 | <table width="100%"><tr> | 
|---|
 | 72 | <td align="left"><small><p>Last revised: July 25, 2004 at 03:01:38 GMT</p></small></td> | 
|---|
 | 73 | <td align="right"><small></small></td> | 
|---|
 | 74 | </tr></table> | 
|---|
 | 75 | <hr> | 
|---|
 | 76 | <div class="spirit-nav"> | 
|---|
 | 77 | <a accesskey="p" href="boost_tr1/testing.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="tribool/tutorial.html"><img src="images/next.png" alt="Next"></a> | 
|---|
 | 78 | </div> | 
|---|
 | 79 | </body> | 
|---|
 | 80 | </html> | 
|---|