noreply@blogger.com (Stefan Glienke) | 2015-01-08 01:29
Yes, I know - I am way too 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. Barry's 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…
| 2012-01-16 00:00
Page 137 of 144