Why don't number types share a common interface?

后端 未结 0 1649
终归单人心
终归单人心 2021-02-11 18:34

I recently ran across the problem, that I wanted a function to work on both doubles and integers and wondered, why there is no common interface for all number types (containing

相关标签:
回答
  • 消灭零回复
提交回复
热议问题