Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 14, 2010 [phobos] phobos commit, revision 1850 | ||||
---|---|---|---|---|
| ||||
phobos commit, revision 1850 user: dsimcha msg: Slicing for Iota. http://www.dsource.org/projects/phobos/changeset/1850 |
August 14, 2010 [phobos] phobos commit, revision 1850 | ||||
---|---|---|---|---|
| ||||
Posted in reply to dsource.org | Are you using typeof(this) instead of auto in order to avoid the bug in ddoc?
Andrei
On 08/14/2010 10:19 AM, dsource.org wrote:
> phobos commit, revision 1850
>
>
> user: dsimcha
>
> msg:
> Slicing for Iota.
>
> http://www.dsource.org/projects/phobos/changeset/1850
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
|
August 14, 2010 [phobos] phobos commit, revision 1850 | ||||
---|---|---|---|---|
| ||||
Posted in reply to dsource.org | Suggestion for saving some generated code:
enforce(upper >= lower);
enforce(upper <= this.length);
=>
enforce(upper >= lower && upper <= this.length);
Thanks for your ongoing effort to bring std.algorange up to snuff!
Andrei
On 08/14/2010 10:19 AM, dsource.org wrote:
> phobos commit, revision 1850
>
>
> user: dsimcha
>
> msg:
> Slicing for Iota.
>
> http://www.dsource.org/projects/phobos/changeset/1850
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
|
August 14, 2010 [phobos] phobos commit, revision 1850 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | Force of habit mostly. I'm so used to auto return being buggy that, even now that the nasty forward ref bug is fixed, I've gotten into the habit of not using it unless I really need it.
On 8/14/2010 1:13 PM, Andrei Alexandrescu wrote:
> Are you using typeof(this) instead of auto in order to avoid the bug in ddoc?
>
> Andrei
>
> On 08/14/2010 10:19 AM, dsource.org wrote:
>> phobos commit, revision 1850
>>
>>
>> user: dsimcha
>>
>> msg:
>> Slicing for Iota.
>>
>> http://www.dsource.org/projects/phobos/changeset/1850
>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
|
Copyright © 1999-2021 by the D Language Foundation