
16 Sep
2005
16 Sep
'05
5 p.m.
From: "michael toksvig" <michaeltoksvig@yahoo.com>
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 http://www.boost.org/more/discussion_policy.htm#effective. 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 T2::min. It's surprising for the result type to have a less restrictive range than the inputs. -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;