Sum integers using template recursion going upwards possible?

后端 未结 0 589
萌比男神i
萌比男神i 2020-12-10 06:38

Using recursive templates, I would like to calculate the sum of the first n integers going from 0 to n. I.e. SumUp<10>::n would

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