declaration with typedef

David Nadlinger see at klickverbot.at
Mon Dec 27 06:49:39 PST 2010


On 12/27/10 3:44 PM, Hamad Mohammad wrote:
> excuse me
>
> but why that code works
>
>[…]

If you tried to assign person2 to person1 or vice versa, the same error 
would occur.

But as Andrei already said, typedef has been deemed deprecated in D2.

David


More information about the Digitalmars-d-learn mailing list