Class identifier without risk of integer overflow

前端 未结 0 1171
慢半拍i
慢半拍i 2020-12-22 16:48

Is there any smart solution to avoid the risk of integer overflow when you try to give an unique identifier to each object of a class ?

For exemple, in Java :

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