8
votes
Vote UpVote

Smart pointers in Delphi

Delphi sorcery – Yes, I know - I am way to late to that party.But this is yet another thing that the language itself is missing but can be done with some tricks as the posts showed. However I felt in all these implementations something was missing. Barrys first implementations were record based which had the disadvantage of always having to write .Value when accessing the actual instance. I prefer his latest approach using an anonymous method type. The approach shown in the ADUG blog uses the constructor constraint to be able to create the instance inside the TSmartPointer<T> which is also ...
Favorite? Off-Topic? noreply@blogger.com @ 2015-01-08 02:29

Statistics

Visits: 1288
Votes: 8
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
corus
Jeroen Pluimers
Linas
Primoz Gabrijelcic
Ravaut123
Tim Winstanley
Yanniel
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)