$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: klaus triendl (klaus_at_[hidden])
Date: 2008-05-20 10:13:24
Alex MDC schrieb:
>> Is this by design and do I have to access the tribool's 'value' member
>> directly?
>
>
> I wouldn't say it's "by design" - rather it's an unfortunate limitation of
> C++ that overloaded boolean operators cannot emulate the short-circuiting
> behaviour as with builtin types.
Hmm, I didn't look thoroughly at it but wouldn't it be possible to
remove these overloads?
I've seen a proposal for bool_set that doesn't overload (anymore) the
two logical operators.
-- Klaus