Disabling opAssign in a type disabled all the opAssigns of an aliased type?

Alex sascha.orlov at gmail.com
Mon Jul 30 20:20:15 UTC 2018


On Monday, 30 July 2018 at 19:33:45 UTC, aliak wrote:
> On Monday, 30 July 2018 at 18:47:06 UTC, Alex wrote:
>> On Monday, 30 July 2018 at 18:30:16 UTC, aliak wrote:
>>> [...]
>>
>> What happens if you omit the @disable line?
>
> Compiles ok then.

So... is this a valid workaround? ;)


More information about the Digitalmars-d-learn mailing list