2 Jul
2005
2 Jul
'05
6:46 a.m.
"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