opIndex vs. opSlice for empty slices

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 21 23:28:15 PDT 2015


On 05/21/2015 11:20 PM, Mike Parker wrote:
> On Friday, 22 May 2015 at 05:49:17 UTC, weaselcat wrote:
>>
>> http://forum.dlang.org/thread/luadir$t0g$1@digitalmars.com#post-luadir:24t0g:241:40digitalmars.com
>>
>
> Thanks!

For convenience, here are the two sections that cover my understanding 
of this topic:

 
http://ddili.org/ders/d.en/operator_overloading.html#ix_operator_overloading.opSlice

 
http://ddili.org/ders/d.en/templates_more.html#ix_templates_more.overloading,%20operator

Ali



More information about the Digitalmars-d-learn mailing list