Opened 11 years ago
Closed 4 years ago
#5510 closed Bugs (wontfix)
The truth table in the documention makes no sense to me
Reported by: | Robert Ramey | Owned by: | James E. King, III |
---|---|---|---|
Milestone: | To Be Determined | Component: | logic |
Version: | Boost 1.46.1 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
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
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 4 years ago
Owner: | changed from | to
---|
comment:3 by , 4 years ago
Resolution: | → wontfix |
---|---|
Severity: | Problem → Cosmetic |
Status: | new → closed |
Summary: | The truth table in the documention make no sense to me → The truth table in the documention makes no sense to me |
The truth tables make sense to me as-is, and the issue about safe_bool has been moved to https://github.com/boostorg/logic/pull/7. As such, closing this out.
Note:
See TracTickets
for help on using tickets.
It's just organized slightly differently. The top row and the left column are the arguments. The remaining 3x3 cells are the results.