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.