Avoid tautological-compare warning in template

后端 未结 0 1320
心在旅途
心在旅途 2020-12-22 06:25

I have a template class that should return different values if the (unsigned) parameter is even or odd, like in this test case:

template  cl         


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