Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 12, 2011 [phobos] [D-Programming-Language/phobos] d08f0e: One more fix for the last pull request. It should... | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: d08f0e6621e1ceb1d8a4cded975507f775c8857e https://github.com/D-Programming-Language/phobos/commit/d08f0e6621e1ceb1d8a4cded975507f775c8857e Author: dsimcha <dsimcha at gmail.com> Date: 2011-07-12 (Tue, 12 Jul 2011) Changed paths: M std/range.d Log Message: ----------- One more fix for the last pull request. It should really just take ulongs for indexing and slicing. |
July 12, 2011 [phobos] [D-Programming-Language/phobos] d08f0e: One more fix for the last pull request. It should... | ||||
---|---|---|---|---|
| ||||
Posted in reply to noreply at github.com | On Tuesday 12 July 2011 19:06:48 noreply at github.com wrote:
> Branch: refs/heads/master
> Home: https://github.com/D-Programming-Language/phobos
>
> Commit: d08f0e6621e1ceb1d8a4cded975507f775c8857e
>
> https://github.com/D-Programming-Language/phobos/commit/d08f0e6621e1ceb1d8a
> 4cded975507f775c8857e Author: dsimcha <dsimcha at gmail.com>
> Date: 2011-07-12 (Tue, 12 Jul 2011)
>
> Changed paths:
> M std/range.d
>
> Log Message:
> -----------
> One more fix for the last pull request. It should really just take ulongs
> for indexing and slicing.
Aren't indices supposed to size_t? Why ulong?
- Jonathan M Davis
|
July 12, 2011 [phobos] [D-Programming-Language/phobos] d08f0e: One more fix for the last pull request. It should... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | If they were size_t then they wouldn't work with ulong bounds. On Tue, Jul 12, 2011 at 10:09 PM, Jonathan M Davis <jmdavisProg at gmx.com>wrote: > On Tuesday 12 July 2011 19:06:48 noreply at github.com wrote: > > Branch: refs/heads/master > > Home: https://github.com/D-Programming-Language/phobos > > > > Commit: d08f0e6621e1ceb1d8a4cded975507f775c8857e > > > > > https://github.com/D-Programming-Language/phobos/commit/d08f0e6621e1ceb1d8a > > 4cded975507f775c8857e Author: dsimcha <dsimcha at gmail.com> > > Date: 2011-07-12 (Tue, 12 Jul 2011) > > > > Changed paths: > > M std/range.d > > > > Log Message: > > ----------- > > One more fix for the last pull request. It should really just take > ulongs > > for indexing and slicing. > > Aren't indices supposed to size_t? Why ulong? > > - Jonathan M Davis > _______________________________________________ > phobos mailing list > phobos at puremagic.com > http://lists.puremagic.com/mailman/listinfo/phobos > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20110712/e878251b/attachment.html> |
July 12, 2011 [phobos] [D-Programming-Language/phobos] d08f0e: One more fix for the last pull request. It should... | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | On Tuesday 12 July 2011 22:15:00 David Simcha wrote:
> If they were size_t then they wouldn't work with ulong bounds.
Ah. So the issue is that they need to work with ulong on 32-bit systems, and that doesn't work if the type is size_t. Okay. That makes sense.
- Jonathan M Davis
|
Copyright © 1999-2021 by the D Language Foundation