How can I check if an object has been casted to an integer?

前端 未结 0 1668
無奈伤痛
無奈伤痛 2020-11-27 09:56

Is it possible to check for this and if so how would this statement look like ?

For example it would be within this function:

operator int()const;


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