"Gennaro Prota" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> [...]
> But there are more important points I think; first of all this: if all
> I can see "from the outside" is whether v_== minus [note: this is
> 'plus' in the original code] why keeping three states internally?

I wondered this as well, until I thought about this invokation:

compare(x1, x2)(y1, y2)(z1, z2);

Keeping the state internally allows for this function chaining, as
the three states are passed from one functor to the next (which
is necessary to provide the desired functionality).

Dave



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to