Define operator ** in C++

前端 未结 0 2054
北荒
北荒 2021-02-15 07:34

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

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