$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: William E. Kempf (williamkempf_at_[hidden])
Date: 2002-08-14 09:59:06
From: "Peter Dimov" <pdimov_at_[hidden]>
> From: "Beman Dawes" <bdawes_at_[hidden]>
> >
> > Here are the problems I know of that need fixes or investigation:
> >
> > * !!(predicate) fix as discussed
>
> No longer necessary. I switched to BOOST_TEST(p? true: false); adding !!
in
> BOOST_TEST would silently test operator!, not the "boolean context"
> conversion.
I'd say it would still be necessary since other people are sure to use the
same construct. However, you bring up a good point about it causing the
wrong thing to be tested, so !! is the wrong solution. Probably need to
apply the ternary operator instead.
Bill Kempf