2015-07-16 22:40 GMT+02:00 Sven Barth <pascaldra...@googlemail.com>: > var >> X: strong TDictionary<weak TList<Integer>, string>; >> > > Prefixed modifiers are the /worst/ you can do for Pascal. >
it is already being done by introducing "specialize" keyword. I have totally different opinion :) for me it is beautiful: http://docs.elementscompiler.com/Platforms/Cocoa/StorageModifiers/ > In the end your code above will look like this in mode ObjFPC: > > === code begin === > > var > X: specialize SmartObj<specialize TDictionary<specialize > WeakObj<specialize TList<Integer> >, string> >; > // the spaces between the "> >" are added, because I don't know yet > whether I'll be able to deal with the fact that the scanner always converts > ">>" to "shr" (and "<<" to "shl") > > === code end === > no difference ;) contrary to the principle of KISS Best regards, Maciej Izak
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal