Returning a struct by reference

Sergey Gromov snake.scaly at gmail.com
Sat Mar 21 07:43:07 PDT 2009


Sat, 21 Mar 2009 09:55:13 -0400, Simon TRENY wrote:

>    //This syntax is not working
>    public ref Position position() {
>       return m_position;
>    }

D2 supports this.
D1 won't, ever.  I think.



More information about the Digitalmars-d mailing list