DIP28, on properties, availabel for destruction as well

deadalnix deadalnix at gmail.com
Wed Mar 13 19:35:39 PDT 2013


On Wednesday, 13 March 2013 at 20:16:17 UTC, Timon Gehr wrote:
> On 03/13/2013 04:55 PM, deadalnix wrote:
>> On Saturday, 2 March 2013 at 16:48:14 UTC, Timon Gehr wrote:
>>>> - typeof(__traits(propertyAccessors, prop)(exp)) is void and 
>>>> its
>>>> result is used. I don't see the point of special casing this.
>>>
>>> Consistent support for multiple assignment.
>>>
>>
>> It isn't prevented by DIP28. Plus, this is already the 
>> behavior of
>> opAssign and firends.
>>
>
> Well, I do not feel particularly strongly about it. It is moved 
> to possible extensions now. It should then probably also apply 
> to opAssign and friends.
>

I do not feel strongly about it, however, the consistency with 
opAssign and friend seems to me like the most important thing. We 
got to change both to use the void trick, or none.


More information about the Digitalmars-d mailing list