DMD 1.035 and 2.019 releases

Walter Bright newshound1 at digitalmars.com
Wed Sep 3 00:58:14 PDT 2008


Extrawurst wrote:
> yeah i figured, but if i have an opCall with the exact same arguments 
> its never called, isnt that ambiguous ? what happens to opcall anyway ? 
> will it sooner or later fall out ?
> 
> Walter Bright wrote:
>> To construct an object of struct S:
>>
>> auto s = S(arguments);
>>
>> Extrawurst wrote:
>>> Are opCalls deprecated now ? how do i call the ctor and how the 
>>> opCall? a short example in the docs would have been nice.

ctor's override the opCalls. The opCalls will eventually probably get 
deprecated.


More information about the Digitalmars-d-announce mailing list