How do I add two structs using compile time?

前端 未结 0 1945
栀梦
栀梦 2021-01-03 19:52

Currently I\'m learning about OOP in c++. I need to write a code in which the following is evaluated at compile time. Therefore I need to work with templates.

I wrote

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