DIP53 and DIP49 (ver2) - New definitions for qualified constructors and postblits

Kenji Hara k.hara.pg at gmail.com
Thu Dec 19 17:31:03 PST 2013


2013/12/20 Michel Fortin <michel.fortin at michelf.ca>

> On 2013-12-18 03:42:38 +0000, "Kenji Hara" <k.hara.pg at gmail.com> said:
>
>  http://wiki.dlang.org/DIP49
>> Improved points from version 1:
>> - Swap meanings of 'this(this) inout' and 'this(this) const'
>> - Inout postblit now covers all cheap (== not rebind indirections) copies
>> between same qualifiers
>>
>
> I can't help but notice that if you want class-typed members to be
> assignable in a "this(this) immutable" context you'll need to add
> tail-constness for classes in the language.


Sorry I can't understand what you saying. DIP49 does not touch class
reference semantics. It's not a purpose of DIP49.

Kenji Hara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131220/950549f6/attachment.html>


More information about the Digitalmars-d mailing list