What is difference between struct and class?

Rnd r_narang at yahoo.com
Mon Jun 3 00:17:08 UTC 2019


I see that struct can have data as well as member functions and 
instances can be created. So they sound like classes only.

What additional features do classes offer in D?


More information about the Digitalmars-d-learn mailing list