Nichtgenerisch kein Problem,
Delphi-Quellcode:
type
PMyRecord = ^TMyRecord;
TMyRecord = record
...
end;
Delphi-Quellcode:
type
TMyRecord = record
public type
PMyRecord = ^TMyRecord;
public
...
end;
aber generisch will der Compiler nicht.
Delphi-Quellcode:
type
PMyRecord<T> = ^TMyRecord<T>;
TMyRecord<T> = record
...
end;
Delphi-Quellcode:
type
TMyRecord<T> = record
public type
PMyRecord = ^TMyRecord<T>;
public
...
end;
Leider brauch ich einen passenden typisierten Pointer.