次のエラーが発生します
エラー2エラーC2248:'std :: thread :: thread':クラスで宣言されたプライベートメンバーにアクセスできません' std :: thread'c:\ dropbox \ prog \ c ++ \ ttest \ ttest \ main.cpp 11 1 ttest
エラー1エラーC2248:'std :: mutex :: mutex':クラスで宣言されたプライベートメンバーにアクセスできません' std :: mutex'c:\ dropbox \ prog \ c ++ \ ttest \ ttest \ main.cpp 11 1 ttest
私のコード
#include <mutex>
#include <thread>
using namespace std;
struct Serverbas
{
    mutex mut;
    thread t;
};
struct LoginServer : Serverbas
{
    void start()
    {
       t = thread(&LoginServer::run, *this);
    }
    void run() {}
};
int main() {}