[Bug c++/57986] call to local "bind" template function called std::bind without "using" any namespace.
yangzhe1990 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 25 16:11:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57986
--- Comment #9 from yangzhe1990 at gmail dot com ---
> <algorithm> is probably including <functional>
Yes, you are right. <iterator> is not including <functional>.
> Make the type non-copyable, and if you need to pass it around then use
> shared_ptr<thread>
Thanks. Anyway there seems no way to do { thread a; ... ; a =
thread(some_function); } .
More information about the Gcc-bugs
mailing list