Boost logo

Boost :

Subject: Re: [boost] [mpl] is there a or_seq like logical metafunction?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2009-02-15 16:18:23


On 02/15/09 15:08, Larry Evans wrote:
> On 02/15/09 14:48, Larry Evans wrote:
> [snip]
>> #include <and_seq_instances.hpp>
>> -{--end_seq_eval_if_iter.cpp--
>>
>> This shaved off a few instantiations (128 vs. 163 on my machine).
>
> OOPS. spoke too soon. Ran the compile test and this version failed
> the assertions.
>
> Please ignore previous post :(

The same error occurred with and_seq_and_iter because:

template<class End>
struct and_iter<End, End> : boost::mpl::false_ {};

should be:

template<class End>
struct and_iter<End, End> : boost::mpl::true_ {};


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