Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

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

Const parameters are an implementation detail

  Alt 20. Mär 2021, 04:43
A parameter with a const is different from one without const in terms of a function signature. But is that actually true? Is A(x: T) really different from B(const x: T)?

Disclaimer: In this article I am focusing on the default calling convention on Windows in Delphi which is register.


We will go onto a journey through some assembler code and look into various method calls with different typed parameters bo

Weiterlesen...
  Mit Zitat antworten Zitat