0
我試圖檢查是否一個線程與使用的timed_join(0)
運行的右邊的操作數。但不像別人,我得到這個錯誤:timed_join(0):沒有操作員發現它採用類型「const int的」
1>c:...\boost\thread\detail\thread.hpp(538): error C2679: binary '+' : no operator found which takes a right-hand operand of type 'const int' (or there is no acceptable conversion)
它看起來像timed_join()
未正確定義使用int
。但是怎麼來的我是誰得到這個錯誤只有一個? (嘗試搜索標題,我在谷歌搜索了3個總結果)
請提供SSCCE http://www.sscce.org/ – 2013-03-20 02:41:18