Boost logo

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:

What was the reason not to implement this?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at