Boost logo

Boost Users :

Subject: Re: [Boost-users] [review][constrained_value] Review of Constrained Value Library begins today
From: Deane Yang (deane_yang_at_[hidden])
Date: 2008-12-03 14:21:49


Edward Diener wrote:
> Deane Yang wrote:
>>
>> I have an even more extreme view on this. I don't believe any
>> arithmetic operations should be permitted for constrained numbers.
>> They just don't make sense (would you ever want to add two different
>> days of a month?).
>
> You have chosen a particular type for which arithmetic operations
> sometimes make little sense. In many other situations this is not the case.

Could you give an example?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net