Hello Pascaleers,
-1- class wrappers Are there in stock implementations of class wrappers for primitive types: such as TInteger, TString, etc? (that would for instance just hold a .value attr and delegate operations to builtin funcs or procs) This would save me some work :-) -2- [] operator How to implement a class that manages this operator (did not find it in the operator overloading section). Pointer welcome (including to the implementation of eg TFPList). -3- List specialization What is actually needed to specialise TFPList or TObjectList, in order for an instance of the new list class to hold as elements instances of a subclass of TObject. (The main purpose for this specialisation is to avoid systematically casting back elements to TMyObject). I guess I only need to redefine the .List or .Items property, but to do what, actually (maybe the main issue jumps back to question -2-)? Denis ________________________________ vit esse estrany ☣ spir.wikidot.com _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal