开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
polymorphism

polymorphism

go

内存泄漏与运行时多态性

英文: Memory leak with runtime polymorphism 问题 在追踪我们代码的意外大内存消耗时,我认为我发现了gfortran的一个错误,我可以使用版本7.5.0、9.4....
huangapple 2023年7月10日143评论language-lawyer memory-leaks
go

如何设计一个安全的重写工厂方法,允许子类返回协变类型?

英文: How to design an override-safe factory method that allows subclasses to return covariant types? ...
huangapple 2023年6月29日147评论c++ inheritance
go

如何编写接受用不同索引实例化的 DataKind 类型参数的函数?

英文: How to type function which takes arguments of a DataKind indexed type instantiated with differen...
huangapple 2023年6月15日116评论haskell polymorphism
go

限制在Haskell中的数据声明中的类型变量为类类型。

英文: Restricting a type variable to a class type in a data declaration in Haskell 问题 我想声明一种数据类型,该数据类型...
huangapple 2023年6月15日132评论haskell polymorphism
go

寻找大型 switch-case 和 if-else 结构的最有效方法

英文: Finding most efficient method for large switch-case and if-else 问题 I've translated the code for ...
huangapple 2023年6月13日131评论c++ switch-statement
go

替换一个类而不删除旧类,避免访问重复。

英文: Replacing a class without deleting the old one, avoiding access duplication 问题 在重构任务中,我有一个名为 Old...
huangapple 2023年6月12日145评论c++ inheritance
go

如何在工厂模式中正确实现具有自己函数的派生类?

英文: How to properly implement derived classes with their own functions in a Factory Pattern? 问题 我遇到了...
huangapple 2023年6月5日141评论c++ oop
go

如何在TypeScript中正确重载函数?

英文: How to correctly overload functions in TypeScript? 问题 能有人告诉我这里类型有什么问题吗?我试图在TS中通过重载清楚表达自己,但下面的问题让...
huangapple 2023年6月1日150评论types typescript
go

使用多态继承难以隔离C++代码片段的问题

英文: Problem isolating a piece of c++ code using polymorphic inheritance 问题 我试图重写一段C++代码,以隔离我只想在特定对象的...
huangapple 2023年5月28日123评论c++ inheritance
go

如何检查一个泛型类实例实际上是一个非泛型子类的实例?

英文: How can I check if a generic class instance is actually an instance of a non-generic child? 问题 I...
huangapple 2023年5月26日143评论c# generics

文章导航

1 2 3 … 9
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17023711

热门标签

pandas spring-boot c# c++ javascript node.js android typescript python css sql flutter r reactjs java arrays go json spring html

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码