On Oct 1, 2005, at 6:57 PM, David Abrahams wrote:
"Noel Belcourt"
writes: So if I want to perform an element-wise mpl::or operation of two sequences (r, p1) and then test the resulting sequence for equivalence to the input sequence, something like this should work since as you observe below, mpl::equal will compare two sequences and yield a scalar boolean.
BOOST_MPL_ASSERT((equal
>::type>));
One more observation about this, this code doesn't compile if r and p1
are a vector_c
BOOST_MPL_ASSERT(( equal_to< find< zip_view
, not_equal_to ,or_ ,second<_> > ::type , end
>::type ))
I'll be sure to read up on zip_view and try this out. Thanks for your help. -- Noel