What is the behaviour of the '==' operator for a generic type value and the 'default' keyword?

后端 未结 0 1411
攒了一身酷
攒了一身酷 2021-02-13 00:47

Part 1 of the question: In the following code why does value == default compile fine but the other alternatives do not?



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