Is there a cleaner way to define my copy ctor with a mutex?

后端 未结 0 607
别那么骄傲
别那么骄傲 2021-01-18 04:56

I have a POD struct like so

struct foo {
  std::mutex m_foo_mutex;
  int a;
  int b;
  int c;
  //......
};

It has more fields than this but

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