Derive from specialized generic types
Is it possible to derive a class from a specialized generic type:
TGenericBase <T> = class
// ...
end;
TSpecializedDerived = class (TGenericBase <String>)
// ...
end;
Just wondering if this is possible at all...
EDIT Code works fine when I put it in a new project. Must be due to some other mistake; sorry about that
如果你对这篇文章有疑问,欢迎到本站 社区 发帖提问或使用手Q扫描下方二维码加群参与讨论,获取更多帮助。

发布评论
需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。