Define operator ** in C++

前端 未结 0 1283
温柔的废话
温柔的废话 2021-02-15 07:37

How can I define operator ** such that it can perform exponentiation of 2 numbers . eg 2 ** 3. It should give answer as 8.

Or Indirectly is the

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