cpp Template Promote uint8_t to uint16_t

后端 未结 0 695
误落风尘
误落风尘 2021-01-16 06:54

I am working with some numerical programming applications where I would like to specify a function like so:

template 
T average(T x, T y) {
         


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