Weird code snippet #2: Generic Double Linked List
They say Generics and pointers don't mix. type PMyThing = ^TMyThing // [DCC Error] E2508 type parameters not allowed on this type TMyThing = record Thing: T; end;Ok, they don't. But there is a loophole!type TMyThing = record Thing: T; NextThing: ...http://feeds.feedburner.com/~r/delph...~4/dhjBBnm7x9g
More... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:44 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz