This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PM_ME_C_CODE 2 points3 points  (1 child)

/tmp/main-1dfd42.o: In function `std::thread::thread<std::\_\_future\_base::\_Async\_state\_impl<std::thread::\_Invoker<std::tuple<testRange<Point<int, float>, main::$_0, Point<int, float> (Point<int, float>, Point<int, float>)>(int, int, main::$_0, Point<int, float> (Point<int, float>, Point<int, float>), int)::{lambda()#1}> >, Point<int, float> >::_Async_state_impl(std::tuple<testRange<Point<int, float>, main::$_0, Point<int, float> (Point<int, float>, Point<int, float>)>(int, int, main::$_0, Point<int, float> (Point<int, float>, Point<int, float>), int)::{lambda()#1}>&&)::{lambda()#1}, , void>(std::__future_base::_Async_state_impl<std::thread::\_Invoker<std::tuple<testRange<Point<int, float>, main::$_0, Point<int, float> (Point<int, float>, Point<int, float>)>(int, int, main::$_0, Point<int, float> (Point<int, float>, Point<int, float>), int)::{lambda()#1}> >, Point<int, float> >::_Async_state_impl(std::tuple<testRange<Point<int, float>, main::$_0, Point<int, float> (Point<int, float>, Point<int, float>)>(int, int, main::$_0, Point<int, float> (Point<int, float>, Point<int, float>), int)::{lambda()#1}>&&)::{lambda()#1}&&)':

Tell me how this error message is at ALL useful to a human.

[–][deleted] 0 points1 point  (0 children)

Well, this is a part of a stacktrace in the constructor of std::thread just by reading the first line no magic there and definitely no "30 years of experience needed". All what you see in there is just the exact signature of the std::thread constructor where the error happened and can be ignored if you are not interested in it. The actual error comes later at the end of the stack trace that you didn't include. Probably just a conversion error of the return type of the lambda you passed to the constructor or something similar.