www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D polymorhic class objects

reply "AJ" <aj nospam.net> writes:
Are polymorphic class objects in D implemented as in C++ with a vptr 
embedded in the data struct? 
Nov 06 2009
parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Fri, 06 Nov 2009 15:12:37 -0500, AJ <aj nospam.net> wrote:

 Are polymorphic class objects in D implemented as in C++ with a vptr
 embedded in the data struct?
yes. -Steve
Nov 06 2009