Should opIndex completely override alias this?

Mehrdad wfunction at hotmail.com
Fri May 11 11:40:48 PDT 2012


On Friday, 11 May 2012 at 18:32:12 UTC, Artur Skawina wrote:
> Since it is a function template the attributes are inferred, in 
> this case from data's opIndex, if any. The arguments are 
> forwarded as-is, ie data's opIndex has to deal with them.


Among other things, 'scope' gets messed up.


More information about the Digitalmars-d mailing list