[Bug libstdc++/53872] [C++11] ADL bug in std::thread
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 6 13:56:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53872
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-07-06 13:56:04 UTC ---
Author: paolo
Date: Fri Jul 6 13:55:58 2012
New Revision: 189329
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189329
Log:
2012-07-06 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/53872
* include/std/thread (thread::_M_make_routine): Qualify make_shared
to prevent ADL.
* testsuite/30_threads/thread/adl.cc: New.
Added:
trunk/libstdc++-v3/testsuite/30_threads/thread/adl.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/thread
More information about the Gcc-bugs
mailing list