Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Chapter 21. 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.


PrevUpHomeNext