30 Sep
2005
30 Sep
'05
12:18 a.m.
Noel Belcourt wrote:
Hi,
I'm new to the list so this may have been answered elsewhere (like a FAQ for MPL) but I couldn't find it.
I've got 2 vector_c types like this
typedef vector_c
p1; typedef vector_c p2; and a resultant type defined as
typedef vector_c
r; that I want to compare at compile time using logic like this
r = p1 || p1 && p2
I don't get it: wouldn't p1 match everything that p1 && p2 matches?
Did you mean r == p1 || p1 && p2?
You might try something like:
transform