Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Chapter 32. Boost.Tribool

Douglas Gregor

Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

Introduction
Tutorial
Basic usage
Renaming the indeterminate state
tribool input/output
Reference
Header <boost/logic/tribool.hpp>
Header <boost/logic/tribool_fwd.hpp>
Header <boost/logic/tribool_io.hpp>
Testsuite
Acceptance tests

Introduction

The 3-state boolean library contains a single class, boost::logic::tribool, along with support functions and operator overloads that implement 3-state boolean logic.

Last revised: May 03, 2007 at 03:28:53 GMT


PrevUpHomeNext