Why structs and classes instanciations are made differently ?
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 25 08:15:59 PDT 2017
On Monday, 24 July 2017 at 15:21:54 UTC, Houdini wrote:
> D is very similar to C++ (and also grabs godd ideas from
> Python), but I have a naive question : why does Walter Bright
> chose to instanciate classes like in Java ?
C++ is big, there's always something you don't know about it.
Java actually instantiates classes the C++ way:
http://en.cppreference.com/w/cpp/language/new
More information about the Digitalmars-d-learn
mailing list