Throw error on max instantiations of class

前端 未结 0 754
谎友^
谎友^ 2020-12-03 03:33

I want my program to throw an error when a defined maximum number of objects of a certain class (MAX) is reached. I must limit the number of instantiations because I\'m work

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