What's opIndexAssign supposed to return ?

wjoe invalid at example.com
Tue Feb 25 16:08:39 UTC 2020


On Tuesday, 25 February 2020 at 15:30:19 UTC, Ali Çehreli wrote:
> On 2/25/20 3:02 AM, wjoe wrote:> Lets say I've got 3 overloads 
> of opIndexAssign:
> >
> > auto opIndexAssign(T t);
>
> > an internet search which didn't find any useful
> > information.
>
> I have examples for non-templatized and templatized versions of 
> opIndexAssign here:
>
>
> http://ddili.org/ders/d.en/operator_overloading.html#ix_operator_overloading.opIndexAssign
>
>
> http://ddili.org/ders/d.en/templates_more.html#ix_templates_more.opIndexAssign%20template
>
> I used this index to find those:
>
>   http://ddili.org/ders/d.en/ix.html
>
> Ali

This is great! Thank you. Curious why this wasn't found by my 
internet search.


More information about the Digitalmars-d-learn mailing list