Windows SOCKET のリストをサポートするために構造体を使用しています。
struct ConnectedSockets{
std::mutex lock;
std::list<SOCKET> sockets;
};
これをコンパイルしようとすると (Visual Studio 2012)、次のエラーが発生します。
「エラー C2248:
std::mutex::operator =
クラスで宣言された 'private' メンバーにアクセスできません'std::mutex'
」
これを修正する方法を知っている人はいますか?