Blitz logo

Blitz Devel :

From: Julian C. Cummings (cummings_at_[hidden])
Date: 2003-09-08 14:52:00


Hi Tyson,

I've reviewed your patches and I concur with all the changes, as well as the
other patch you sent for the MT seed function. I am extending your patch
for the TinyVector iterator classes to also use int as the argument type for
operator[] and other query methods rather than unsigned. This is consistent
with the way Array and Vector iterator classes already work. I will fold
these changes into the repository.

Thanks for the submissions,
Julian C.

> -----Original Message-----
> From: blitz-dev-bounces_at_[hidden]
> [mailto:blitz-dev-bounces_at_[hidden]] On Behalf Of Tyson Whitehead
> Sent: Friday, September 05, 2003 5:04 PM
> To: blitz-dev_at_[hidden]
> Subject: [Blitz-dev] Return Type & Vector Iter Patches
>
>
> Here's two patches for blitz.
>
> The one corrects the fact that vector<>::operator[] returns
> type reference
> which isn't just assignable to vector<>::iterator in the
> latest GNU STL.
>
> The other removes unsigned/signed comparison warnings by
> changing the return
> type of the TinyVector iters to an int.
>
> -T
>
> --
> Tyson Whitehead (-twhitehe_at_[hidden] -- WSC-)
> Computer Engineer Dept. of Applied
> Mathematics,
> Graduate Student- Applied Mathematics University of
> Western Ontario,
> GnuPG Key ID# 0x8A2AB5D8 London, Ontario, Canada
>