[fpc-devel] Initialize/Finalize management operators and Default intrinsic

Florian Klämpfl florian at freepascal.org
Wed Apr 13 20:38:34 CEST 2016


Am 13.04.2016 um 20:11 schrieb Maciej Izak:
> 2016-04-13 19:50 GMT+02:00 Florian Klämpfl <florian at freepascal.org <mailto:florian at freepascal.org>>:
> 
>     Just make a simple rule: custom managed types are initialized directly before (...) initialization
> 
> 
> Current implementation (smart_pointers branch) works in that way... custom managed types are
> initialized directly before initialization

I see no need to change this. And IMO the comparison with C++ is not valid: if the units have no
circular dependencies, the initialization order is well defined.




More information about the fpc-devel mailing list