Subject: Re: [boost] [review][constrained_value] Review of Constrained Value Library begins today
From: Stjepan Rajko (stjepan.rajko_at_[hidden])
Date: 2008-12-11 11:43:56


On Thu, Dec 11, 2008 at 9:07 AM, Johan Råde <rade_at_[hidden]> wrote:
>>
>> In other words, we always have to force at least one of x and y to
>> be truncated in order to have any guarantee. If we can do that we might
>> as
>> well force both values to be truncated, right. I think that so far
>> in this discussion is has been assumed that the bounds are truncated.
>
> Forcing truncation may have a bad effect on performance.
> That will be unacceptable to some users.
>

I think the idea is to force truncation on the bounds when they are
set in the constraint object, which for many use cases happens only
once per bounded value.

Stjepan