0
printReportとaddToCatalogVariableeは、両方の別々のヘッダおよびクラスファイルで定義した、マルチスレッドのVisual Studio C++
std::thread thread_1(addToCatalogVariablee(stage_completion, m_load_profiles, m_load_stable_instances, m_load_instance_round, m_load_instance_struct));
std::thread thread_2(printReport(m_load_stable_instances, m_file_name_in));
を私は、Visual Studioを使用していて、次のスレッドの例では、エラーを発生させます。しかし、Visual Studioのフラグ
エラー、のように両方のライン:コンストラクタのインスタンスが引数リストに一致しない 引数の型は次のとおりです。(無効)
http://stackoverflow.com/help/mcve –
あなたはマニュアル読めばそれが良いでしょう。 http://en.cppreference.com/w/cpp/thread/thread/thread – AnatolyS