[phobos] phobos commit, revision 1850

Andrei Alexandrescu andrei at erdani.com
Sat Aug 14 10:30:02 PDT 2010


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


More information about the phobos mailing list