
12 Oct
2010
12 Oct
'10
12:51 p.m.
On 12.10.2010 13:07, Thomas Heller wrote:
template <typename Lhs, typename Rhs> struct compatible : mpl::bool_<Lhs::size == Rhs::size> {};
struct SimdVectorBinary : proto::or_< proto::when< proto::and_< proto::plus<Simd, Simd> , proto::if_<compatible<Simd(_left), Simd(_right)>()> > , exec::simd_plus(Simd(_left), Simd(_right))> > > // more operators here
{};
Thank you, works perfectly! Sebastian