Re: [fpc-devel] New feature discussion: for-in loop

2009-10-31 Thread Micha Nelissen
Vinzent Hoefler wrote: Suppose, the list items have a property "Owner" and the iterator calls some method that says "Owner.Delete (self);" somewhere. How's the compiler supposed to detect that? It can't. In general, all references to the (iterator) list need to be "const" at this time, but I

Re: [fpc-devel] Want to remove AVL_Tree from DOM

2009-10-31 Thread Vinzent Hoefler
On Saturday 24 October 2009, Sergei Gorelkin wrote: > I want to remove the avl_tree-related stuff from DOM unit. The > reasons are: If that's a CfV, I vote "yes". Vinzent. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepasc

Re: [fpc-devel] New feature discussion: for-in loop

2009-10-31 Thread Vinzent Hoefler
On Monday 26 October 2009, Micha Nelissen wrote: > Vinzent Höfler wrote: > > At first, "const function" would tell us that the function does not > > change the object in any way, right? > > What is "the object"? In that case, the list, of course. > Usually there are 2 objects: the list (TList >

Re: [fpc-devel] First cppclass test

2009-10-31 Thread Sven Barth
Florian Klaempfl schrieb: Sven Barth schrieb: All in all I have the following goals for (my) future work on this: * make a cppclass an implicit pointer I don't like this idea because C++-classes aren't an implicit pointer either. At first I wanted to disagree with you... philosophing about

Re: [fpc-devel] size of extended

2009-10-31 Thread Jonas Maebe
On 31 Oct 2009, at 01:14, peter green wrote: 1: is there a table anywhere of the size of extended on different platforms? No. 2: the mentions of m68k (which was dropped a while back afaict) and very little else in the manual makes me suspect the manual in general may be rather outdated.