Can I use static initializers for a global map

后端 未结 0 668
天命终不由人
天命终不由人 2021-02-12 08:08

I want to have a global std::unordered_map that is filled at program initialization and read from it in my program. Currently I have a one big function that inserts

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