Rainer Deyke wrote:
1. C++'s object model, complete with polymorphic value types,
deterministic destructors, arbitrary copy constructors, and optional
lack of default constructor.  D's structs come close, but I think the
class/struct split hurts D more than it helps.  And, yes, C++ has a lot
of room for improvement here.

I'm with Andrei in saying that polymorphic value types are a very bad idea. I've never seen a use case for them that wasn't a mistake.

Reply via email to