Sorry, I had this wrong. The [] on the left hand side is actually part of the []= operator. But on the right hand side, it simply is a [] operator, not tied to the =. I erroneously thought the arr[] = ... syntax was special for arrays, but I forgot that it's simply another operator.Steve, where do I find the []= operator in the documentation? It does not seem to be under Expressions like the other operators. Has it just not got there yet?Steve
Re: What's the deal with "Warning: explicit element-wise assignment..."
Steve Teale via Digitalmars-d Wed, 16 Apr 2014 00:04:26 -0700
On Tuesday, 15 April 2014 at 16:02:33 UTC, Steven Schveighoffer
wrote:
- What's the deal with "Warning:... Andrei Alexandrescu via Digitalmars-d
- Re: What's the deal with "... John Colvin via Digitalmars-d
- Re: What's the deal with "... bearophile via Digitalmars-d
- Re: What's the deal with &... Benjamin Thaut via Digitalmars-d
- Re: What's the deal with &... Andrei Alexandrescu via Digitalmars-d
- Re: What's the deal wi... bearophile via Digitalmars-d
- Re: What's the dea... Steven Schveighoffer via Digitalmars-d
- Re: What's th... Steven Schveighoffer via Digitalmars-d
- Re: What'... Tobias Pankrath via Digitalmars-d
- Re: What'... Steve Teale via Digitalmars-d
- Re: What'... Kagamin via Digitalmars-d
- Re: What's th... bearophile via Digitalmars-d
- Re: What'... Steven Schveighoffer via Digitalmars-d