Value type, ref type, how about something in between?

The Anh Tran trtheanh at gmail.com
Mon Jul 6 21:57:02 PDT 2009


> Ary Borenszweig wrote:
> Isn't pointers for that?
> 3.
> class Outer {
>   S* ss; // Wanted ref, got ref.
> }
> 
> 4.
> structOuter {
>   S* s; // Wanted ref, got ref.
> }
> 
> Best regards,
> Ary

Thanks. But in SafeD, no pointer is allowed. (Not a real issue right now.)

This incomplete ref storage type just bug me. I would like to have 
something that 'complete' + nice.



More information about the Digitalmars-d mailing list