Hello, is there a reason, that all inherited members from TCollection (except TOrdCollection) does neither have a copy constructor, nor a =operator? This makes the following unpossible: TList CreateListOfSomething() { TList list; list.Add(new ...); list.Add(new ...); return list; } TList listofsomething = CreateListOfSomething(); listofsomething->SetOwner(); Regards, Thomas.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:08 MET