opDollar()
Jonathan M Davis
jmdavisProg at gmx.com
Sat Mar 26 01:49:34 PDT 2011
On 2011-03-26 01:03, Caligo wrote:
> "In the expression a[<expr 1>, ..., <expr k>], if $ occurs in <expr
> i>, it is rewritten as a.opDollar!(i)()." -- TDPL, pg 380
>
> Is that correct? if so, could some one give an example code? I don't
> understand the need for the parameter.
>
> Also, what is the signature for opDollar() in a struct. I'm getting
> errors trying to implement this.
I don't think that opDollar is actually implemented yet. See
http://d.puremagic.com/issues/show_bug.cgi?id=3474
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list