![]() |
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
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:09 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz