DMD 0.150 release

Walter Bright newshound at digitalmars.com
Tue Mar 21 13:27:41 PST 2006


"xs0" <xs0 at xs0.com> wrote in message news:dvpgtm$ua2$1 at digitaldaemon.com...
> Walter Bright wrote:
>> I wanted to get the interface covariant problem fixed for the library 
>> guys.
>>
>> http://www.digitalmars.com/d/changelog.html
>
> Out of curiosity - how did you implement it?

The type returned by a virtual function is the type of its introducing 
function. After the function returns, it is cast to the derived return type. 





More information about the Digitalmars-d-announce mailing list