Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

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

Strange overloads

  Alt 27. Jul 2015, 17:20
Combining method overloading with implicit type conversion may lead to strange results. Consider the following innocent stub code for implementing a wrapper type for array of bytes: unit Unit1; interface uses SysUtils; type ByteArray = record class function Copy(const A: ByteArray; I: ...

More...
  Mit Zitat antworten Zitat