[Boost-bugs] [Boost C++ Libraries] #5510: The truth table in the documention make no sense to me

Subject: [Boost-bugs] [Boost C++ Libraries] #5510: The truth table in the documention make no sense to me
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-28 23:04:44


#5510: The truth table in the documention make no sense to me
------------------------------+---------------------------------------------
 Reporter: ramey | Owner: doug_gregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: logic
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 The documentation contains truth tables for the various logical functions.
 Here is an example for the && operator
 {{{
 && false true indeterminate
 false false false false
 true false true indeterminate
 indeterminate false indeterminate indeterminate
 }}}
 What I expect to see is
 {{{
 x y x && y
 false false false
 false true false
 false indeterminate false
 true false false
 true true true
 true indeterminate indeterminate
 indeterminate false false
 indeterminate true indeterminate
 indeterminate indeterminate indeterminate
 }}}

 similarly for the other operators.

 Also, there needs to be a real explanation for safe_bool. I think I
 understand it now, but it was totally non-obvious. At a bare minimum a
 link to a real explanation is necessary.

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5510>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC