r250535 - in /branches/gcc-7-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Jul 25 18:04:00 GMT 2017


Author: redi
Date: Tue Jul 25 18:04:44 2017
New Revision: 250535

URL: https://gcc.gnu.org/viewcvs?rev=250535&root=gcc&view=rev
Log:
Reorder std::scoped_lock parameters as per P0739R0 DR status

Backport from mainline
2017-07-15  Jonathan Wakely  <jwakely@redhat.com>

	* include/std/mutex (scoped_lock): Reorder std::adopt_lock_t parameter
	as per P0739R0.
	* testsuite/30_threads/scoped_lock/cons/1.cc: Reorder arguments.
	* testsuite/30_threads/scoped_lock/cons/deduction.cc: Test deduction
	with std::adopt_lock_t.
	* testsuite/30_threads/scoped_lock/requirements/typedefs.cc: Check
	feature-test macro.

Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/include/std/mutex
    branches/gcc-7-branch/libstdc++-v3/testsuite/30_threads/scoped_lock/cons/1.cc
    branches/gcc-7-branch/libstdc++-v3/testsuite/30_threads/scoped_lock/cons/deduction.cc
    branches/gcc-7-branch/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/typedefs.cc



More information about the Libstdc++-cvs mailing list