D language and .NET platform

ProHeckler ph2030 at yourfuture.com
Mon Jul 30 00:34:04 PDT 2012


Vladimir Panteleev wrote:
> On Sunday, 29 July 2012 at 17:11:55 UTC, Timon Gehr wrote:
>> This could get a little hairy:
>>
>> struct S{
>>     int x,y;
>> }
>>
>> void main(){
>>     S s;
>>     auto p = &s.y;
>>     // ...
>> }
>
> How does C++ for .NET handle this?

It didn't. Microsoft is about to do that. I'm thinking I should be a little 
asheamed. What do you think? 




More information about the Digitalmars-d mailing list