DMD 1.022 and 2.005 releases

Bill Baxter dnewsgroup at billbaxter.com
Wed Oct 10 08:55:47 PDT 2007


BLS wrote:
> 0ffh schrieb:
> 
>> With the help of explicit pointers and dereferencing, I can see no 
>> trouble
>> except you'll need a lot of stars... :)
>>
>> Regards, Frank
>>
>> ps. btw. plain C doesn't have &refs either
> 
> Would be nice if you are willing to offer an example.
> It could also be used as example on :
> http://www.prowiki.org/wiki4d/wiki.cgi?PortingFromCxx
> thanks in advance, Bjoern

He just means have the function return Foo* instead of Foo&.  And then 
use (*foo) everwhere instead of plain foo on calling side.  That's 
pretty much the only reasonable solution I can see.

--bb



More information about the Digitalmars-d-announce mailing list