Can I use static initializers for a global map

后端 未结 0 1840
广开言路
广开言路 2021-02-12 08:07

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

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