Boost logo

Boost :

Subject: Re: [boost] [mpl] and_<true_> returns false
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2013-09-19 10:21:55


On 19/09/2013 02:03 a.m., Daryle Walker wrote:
>> Date: Wed, 18 Sep 2013 20:33:31 -0300
>> >From:kaballo86_at_[hidden]
>> >
>> >The following snippet fails to compile (tested with 1.54.0 and trunk,
>> >several compilers),
>> >
>> >int main() {
>> >using namespace boost::mpl;
>> >static_assert(and_<true_>::value, "U KID?"); //this one fires
>> >static_assert(or_<true_>::value, "U KID?"); //this one is ok
>> >}
>> >
> Not to miss the important part, there is a bug. (A single argument for "and" or "or" should return itself.) Have you put it on our Trac system?

Done. #9137

Regards,

-- 
Agustín K-ballo Bergé.-
http://talesofcpp.fusionfenix.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk