Boost logo

Boost :

From: Rob Stewart (stewart_at_[hidden])
Date: 2005-09-16 12:00:49

From: "michael toksvig" <michaeltoksvig_at_[hidden]>
> > What if T1::min and T2::min, for example, have different signs?

Please keep attributions in your replies when you quote a
previous poster. See It
helps keep track of things better.

> i don't see why that would make a difference

If you add types with T1::min == -10, and T2::min == 20, the
computed minimum would be 10, which is less restrictive than

It's surprising for the result type to have a less restrictive
range than the inputs.

Rob Stewart                           stewart_at_[hidden]
Software Engineer           
Susquehanna International Group, LLP  using std::disclaimer;

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