writeln an object

John Colvin john.loughran.colvin at gmail.com
Thu Apr 18 12:37:26 PDT 2013


On Thursday, 18 April 2013 at 18:46:09 UTC, gedaiu wrote:
> i have a struct not an object.

There's a slight nomenclature clash here:

Object is the base class in D. Therefore one could say that an 
object is an instatiation of Object and therefore a class.

However, by a wider definition of the word, a struct could also 
be said to be an object.


More information about the Digitalmars-d-learn mailing list