Reorder std::scoped_lock parameters as per P0739R0 DR status
authorJonathan Wakely <jwakely@redhat.com>
Sat, 15 Jul 2017 15:43:22 +0000 (16:43 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 15 Jul 2017 15:43:22 +0000 (16:43 +0100)
commite12d3780e6808121365854a9780abac5ba6a5123
tree118995031e5d229cc82ec92cf9bc24874861d98d
parentc2fc34620e4635694f649792e2ae9fc182eb93e7
Reorder std::scoped_lock parameters as per P0739R0 DR status

* 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.

From-SVN: r250223
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/mutex
libstdc++-v3/testsuite/30_threads/scoped_lock/cons/1.cc
libstdc++-v3/testsuite/30_threads/scoped_lock/cons/deduction.cc
libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/typedefs.cc