generic TDynHelper<T> = record helper for TDyn
function Get(Index: ptrUInt): T;inline;
end;
.....
implementation
......
function TDynHelper.Get(Index: ptrUInt): T;
begin
Result := T(It(Index)^);
end;
It won't compile.
The reasons?
1. It is not possible and will never be possible.
2. It will, but in the future.
3. I am an idiot and my syntax is wrong.
4. Everything is done in a different way...
5. ?
:-)