How to set up implicit conversion to allow arithmetic between numeric types?

前端 未结 2 1808
终归单人心
终归单人心 2020-12-09 06:07

I\'d like to implement a class C to store values of various numeric types, as well as boolean. Furthermore, I\'d like to be able to operate on instances of this

2条回答
提交回复
热议问题