|
Boost Users : |
From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-07-02 01:46:04
"Douglas Gregor" wrote:
>> Default initialization to 'false' seems to be quite unnatural in this
>> context and initialization to 'undetermined' seems to be prefered. Is
>> any significant reason for boost::logic::tribool default constructor
>> initializing the value to 'false'?
>
> Because default-constructing a bool gives a false value, and tribool
> tries to mimick bool as well as possible.
>
During review you agreed to make undeterminate as default value:
http://lists.boost.org/boost/2004/06/6499.php
What was the reason not to implement this?
/Pavel
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net