Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.995 Beiträge
 
#1

Delphi: TArray of T versus TArray; a function can return the latter, but not the form

  Alt 5. Jul 2021, 06:10
I wish I had blogged about this a lot sooner, as then far less people would use var aFoo: array of TFoo as method parameters for results that are just out parameters and could be a function result. You cannot have array of TFoo as function result, but you can have TArray<TFoo>. The former would […]

Weiterlesen...
  Mit Zitat antworten Zitat