Fastest container or algorithm for unique reusable ids in C++

前端 未结 8 887
暗喜
暗喜 2021-02-04 10:33

I have a need for unique reusable ids. The user can choose his own ids or he can ask for a free one. The API is basically

class IdManager {
public:
  int Allocat         


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