2015-07-17 11:33 GMT+02:00 Juha Manninen: > Do you mean your Generics.Collections would compile only with the new mode? > Sounds very bad to me. >
Using the Generics.Collections does not impose the use of {$MODE GenPas}. I am working on set of MODESWITCHs. As mentioned above in my previous e-mail I mean more functional programming with less syntax. Evolution for better usage of Generics.Collections (like smart pointers). Even smart pointers will be available in any other mode. In {$MODE GenPas} will be available additional syntax inspired by Oxygene dialect, dedicated for smart pointers: http://docs.elementscompiler.com/Platforms/Cocoa/StorageModifiers/ . best regards, Maciej Izak
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel