Invariant -- question #2

Ary Borenszweig ary at esperanto.org.ar
Tue Oct 21 10:57:19 PDT 2008


Max Samukha wrote:
> On Tue, 21 Oct 2008 15:46:47 -0200, Ary Borenszweig
> <ary at esperanto.org.ar> wrote:
> 
>> Denis Koroskin wrote:
>>> On Tue, 21 Oct 2008 21:18:22 +0400, Ary Borenszweig 
>>> <ary at esperanto.org.ar> wrote:
>>>
>>>> Jarrett Billingsley wrote:
>>>>> On Tue, Oct 21, 2008 at 11:14 AM, Lars Ivar Igesund
>>>>> <larsivar at igesund.net> wrote:
>>>>>> It was changed when invariant was introduced to D2 as to make a 
>>>>>> transition
>>>>>> path ... I think it was announced too.
>>>>>  I can't find anything about it in the changelog, but maybe it was
>>>>> buried in the newsgroups somewhere.  W has a habit of not announcing
>>>>> important changes until three months later when he mentions it in
>>>>> passing in a reply as if everyone knew about it.
>>>> Does anyone know about
>>>>
>>>> =this() {
>>>> }
>>>>
>>>> ?
>>> Looks like a new/alternative syntax for struct postblitting (works in 
>>> DMD2.019, too).
>> Yes, it's exactly that, but I didn't see it announced anywhere.
> 
> Isn't it aesthetically repulsive? :)

Well, since struct postblitting is performed when you do:

foo = bar;

=this() makes much more sense than this(this)...



More information about the Digitalmars-d mailing list