Re: [Boost-bugs] [Boost C++ Libraries] #9561: tribool documentation suggestion

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9561: tribool documentation suggestion
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-10-13 04:24:56


#9561: tribool documentation suggestion
-------------------------------+--------------------------------
  Reporter: toby_toby_toby@… | Owner: James E. King, III
      Type: Tasks | Status: new
 Milestone: To Be Determined | Component: logic
   Version: Boost 1.55.0 | Severity: Not Applicable
Resolution: | Keywords:
-------------------------------+--------------------------------
Changes (by James E. King, III):

 * owner: Douglas Gregor => James E. King, III

Comment:

 The two operands to ? have different types. One is used by tribool (which
 is not a bool), and one is a bool. If you enable C++11 the compiler
 properly detects this issue and fails. If you use C++03 it does fail as
 documented. I'm not certain it's worth documenting this behavior for
 C++03 however, so I am going to resolve this as wontfix. It can be
 reopened as a github issue if folks feel strongly it needs to be
 addressed.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/9561#comment:1>
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 : 2018-10-13 04:35:42 UTC