Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2003-03-28 01:14:43

"Gennaro Prota" <gennaro_prota_at_[hidden]> wrote in message
> [...]
> 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).


Boost list run by bdawes at, gregod at, cpdaniel at, john at