$ for length?

Kagamin spam at here.lot
Thu Feb 20 11:35:19 PST 2014


On Thursday, 20 February 2014 at 18:43:29 UTC, Stanislav Blinov
wrote:
> On Thursday, 20 February 2014 at 18:39:43 UTC, Kagamin wrote:
>
>> $ is meant to be a special indexing syntax (like two dots), 
>> it's not a member, not a length.
>
> Errr, what? http://dlang.org/operatoroverloading.html#Dollar

It repeats what I said:
> Within the arguments to array index and slicing operators

Well, you can't write a.+(b) - that's a difference between syntax
and member.


More information about the Digitalmars-d mailing list