> On Feb 18, 2021, at 12:33 PM, Martin Frb via fpc-pascal > <fpc-pascal@lists.freepascal.org> wrote: > > TMyFoo = class(specialize TTrait<TFooBase>) > procedure Foo; > end; > > Of course that can get out of hand, if you want to include many traits.
I'm not really understand this at all. You're still using subclassing, which is the thing we're trying to avoid. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal