What's opIndexAssign supposed to return ?

Ali Çehreli acehreli at yahoo.com
Tue Feb 25 15:30:19 UTC 2020


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



More information about the Digitalmars-d-learn mailing list