Old problem with performance

Kagamin spam at here.lot
Mon Feb 9 03:07:16 PST 2009


Weed Wrote:

> > Well, D class code here is not equivalent to C++ class code. D code has more features, namely, it's polymorphic: C.opAdd is able to work with classes, derived from C, while corresponding C++ code is unable to do so.
> 
> It is really true?

Of course.

> There opAdd is only for demonstration.

If your example has nothing in common with real-world tasks and needs, it's useless.



More information about the Digitalmars-d mailing list