DP News-Robot |
10. Okt 2014 00:22 |
Generics and variance
When working with generic collections there is often the question: "Why can't I just assign my TList to a variable of TList? TCustomer inherits from TEntity!" There is something called covariance and contravariance - but the bad news are: Delphi does not support ... http://feeds.feedburner.com/~r/delph...~4/2AU8dVs9Oqk
More...
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:06 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