So in this video[1] I learned something new, that you could inherit an interface from a reference to function/procedure declaration. In the example he creates a smart pointer, which is cool (use the link below to get to the right time).

So in this video[1] I learned something new, that you could inherit an interface from a reference to function/procedure declaration. In the example he creates a smart pointer, which is cool (use the link below to get to the right time).

However is this relying on implementation details, or is it a legit method?

[1]: Oct 17, 4pm - Functional Programming in Delphi XE5

Comments