回答編集履歴
1
typo
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
`'std::__1::thread (bar2 (*)())' is not a structure or union `のメッセージをみると、`thread th3(bar2());`を、bar2を返却する関数ポインタを引数とし、threadを返却するthe3()
|
23
|
+
`'std::__1::thread (bar2 (*)())' is not a structure or union `のメッセージをみると、`thread th3(bar2());`を、bar2を返却する関数ポインタを引数とし、threadを返却する関数the3()の宣言と解釈しているのだと思います。
|
24
24
|
|
25
25
|
|
26
26
|
|