r243361 - in /branches/gcc-6-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed Dec 7 15:56:00 GMT 2016
Author: redi
Date: Wed Dec 7 15:55:56 2016
New Revision: 243361
URL: https://gcc.gnu.org/viewcvs?rev=243361&root=gcc&view=rev
Log:
Do not copy std::call_once arguments (LWG 2442)
Backport from mainline
2016-10-12 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/intro.xml: Document LWG 2442 status.
* include/std/mutex [_GLIBCXX_HAVE_TLS] (__once_call_impl): Remove.
(call_once): Use lambda expression and std::__invoke instead of
__bind_simple and __once_call_impl.
* testsuite/30_threads/call_once/dr2442.cc: New test.
Added:
branches/gcc-6-branch/libstdc++-v3/testsuite/30_threads/call_once/dr2442.cc
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/doc/xml/manual/intro.xml
branches/gcc-6-branch/libstdc++-v3/include/std/mutex
More information about the Gcc-cvs
mailing list