On 10/06/15 15:37, Kagamin wrote:
On Wednesday, 10 June 2015 at 08:53:40 UTC, Shachar Shemesh wrote:
On 10/06/15 11:31, Kagamin wrote:

Huh? If you have type's method diskIdx and a local variable diskIdx, and
they are confusing, what it has to do with UFCS?

auto diskIdx = data.diskIdx();

auto diskIdx1 = this.diskIdx;
diskIdx1 = f(diskIdx1);
return diskIdx;

Was this meant to prove that you can make it confusing? I have no idea what you were trying to convey here. Please explain the point you're trying to make.

What does "diskIdx1" mean?
What does f do?
Is "this.diskIdx" a member or a function?
where did the diskIdx you returned came from?

Shachar

Reply via email to