[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: checked int-int conversions
From: |
Jaroslav Hajek |
Subject: |
Re: checked int-int conversions |
Date: |
Wed, 30 Jul 2008 22:11:47 +0200 |
On Wed, Jul 30, 2008 at 10:02 PM, John W. Eaton <address@hidden> wrote:
> On 30-Jul-2008, Jaroslav Hajek wrote:
>
> | A good idea - I forgot to check the Matlab counterparts. Should I
> | resubmit the patch (given that this is, as I understand, a trivial
> | change)?
>
> I've already checked it in to my archive, so I'll fix it up. It
> should be pushed to the public archive soon.
>
> I'm also eliminating the trunc_flag thing in favor of passing an
> additional argument by reference to the constructor. To me, the extra
> argument seems better than having a static data member for this purpose.
>
It occured to me, but it doesn't seem so nice - the xtra argument
needs to be propagated through a lot of function calls. Perhaps you'll
find a better solution.
> jwe
>
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz