4 ms·
I know you are trolling, but just in case, you can implement RAII using record management operators: https://wiki.freepascal.org/management_operators https://w
by badsectoracula 7y ago
I know you are trolling, but just in case, you can implement RAII using record management operators:
https://wiki.freepascal.org/management_operators https://wiki.freepascal.org/management_operators
These are not in Free Pascal 3.0.6 (used in the latest Lazarus release) but they are in trunk and will be available in Free Pascal 3.2. I think they are also available in Delphi since a while now.