initializing array of mutexes in constructor-body VS constructor-initializer-list (exception thrown)

后端 未结 0 759
挽巷
挽巷 2021-01-01 19:42

I have a singleton class which initializes array of mutexes inside its constructor.

However, when I try to create such an array using an initializer list, it will pro

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