Classes in D and C++

Lionello Lunesu lio at lunesu.remove.com
Mon Mar 5 00:12:19 PST 2007


Frits van Bommel wrote:
> This has been allowed for a while now, see 
> http://www.digitalmars.com/d/changelog2.html#new0177 :
> ---
> # Casting a value v to a struct S is now rewritten as S(v).
> # Initializing a struct S from a value v is now rewritten as S(v).
> ---

Ah you found it! I didn't know it was pre-1.0 :)

L.



More information about the Digitalmars-d mailing list