[OT] Modules dropped out of C++17

Shachar Shemesh via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 10 07:17:42 PDT 2015


On 10/06/15 17:05, Kagamin wrote:
> On Wednesday, 10 June 2015 at 13:43:45 UTC, Shachar Shemesh wrote:
>> 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?
>
> It was your requirement that variables and methods must be similar.
I made no such requirement. I just said it sometimes makes sense.

You have not answered my most important question: what was it that you 
were trying to make?

Shachar


More information about the Digitalmars-d mailing list