--- Comment #5 from Jonathan M Davis <> 2011-10-09 14:25:50 
PDT ---
Structs are very much objects. Whether something is an object or not has
nothing to do with whether it's a reference type or a value type. Take C++ for
example. In C++, classes are generally value types rather than reference types,
but they're very much objects. The same goes for whether an object is
polymorphic or not. It's an object regardless of whether it's polymorphic. The
concept of an object in OO programming has nothing to do with the difference
between a struct and a class in D.

You're going to confuse people and generally be confused by others if you refer
to instances of structs as if they weren't objects. If you want to be clear
about the differences between structs and classes, you need to refer to structs
and classes and not try and use the term object to differentiate them.
Instances of both are objects.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to