Why don't number types share a common interface?

后端 未结 0 509
温柔的废话
温柔的废话 2021-02-11 18:28

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

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