is it possible do a template with 3 different variables without overloading

后端 未结 0 1459
无人及你
无人及你 2021-01-05 19:04

In class, we learned templates and their usage but we took the example of max3:

template 
T max3(T x, T y, T z){
  if (x>y && x&g         


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