Jarrett Billingsley wrote: > On Thu, Jul 23, 2009 at 4:34 PM, Rainer Deyke<[email protected]> wrote: >> In my first (and to date only) D project, *all* my user-defined types >> started as structs, and *all* became classes when I found out that D1 >> structs don't support all of the features I need. (None of them used >> polymorphism. In C++, all would have been value types.) > > And you don't think that has *anything* to do with trying to program C++ in D.
No, it was clearly a case of trying to program D2 in D1. In D2, all of these types should be structs. -- Rainer Deyke - [email protected]
