Range Type

Janice Caron caron800 at googlemail.com
Mon Mar 24 12:25:20 PDT 2008


On 24/03/2008, Craig Black <cblack at ara.com> wrote:
> I still think we don't need that second type.  We are talking about D 2.0,
>  so backwards.compatibility is less of an issue.  Unless there's a compelling
>  reason for it, it should be opSlice(T, T).  I think this makes more sense,
>  and simplifies the syntax.

I agree.

But just to be sure, let's ask the loyal readers of this newsgroup...
Has anyone here ever used opSlice(T,U), where type T != type U? And if
so, for what purpose, and could you live without it?



More information about the Digitalmars-d mailing list