> On Apr 24, 2024, at 4:59 PM, Bart via fpc-devel 
> <fpc-devel@lists.freepascal.org> wrote:
> 
> In such instances it would really be helpfull if you could just
> overload the assignment operator like:
> operator := (Src: TRec): TRec;
> begin
>  Result := AssignRec(Src);
> end;

I agree this seems reasonable but maybe the Copy operator makes more sense? It 
should have the same effect I think.

Regards,
Ryan Joseph

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to