1
vote
Vote UpVote

Delphi generic nested classes

The Wiert Corner – Reminder to Self: do not nest T generic types as you’re in for a surprise. Source: [WayBack] Delphi generic nested classes Via: [WayBack] An interesting question over on SO relating to nested generic classes… – David Heffernan – Google+ The surprise: what type would you expect obj.x to be? Integer or string? The compiler hint: [dcc32 Hint]: H2509 Identifier 'T' conflicts with type parameters of container type –jeroen
Favorite? Off-Topic? jpluimers @ 2019-08-21 13:05

Statistics

Visits: 188
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Michał Rajewicz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)