Re: [PATCH] Reorder std::scoped_lock parameters as per P0739R0 DR status

2017-07-16 Thread Ville Voutilainen
On 15 July 2017 at 18:48, Jonathan Wakely wrote: > WG21 just approved this change as a DR for C++17, so that class > template argument deduction works when using std::adopt_lock with a > std::scoped_lock. > > * include/std/mutex (scoped_lock): Reorder std::adopt_lock_t > parameter >

[PATCH] Reorder std::scoped_lock parameters as per P0739R0 DR status

2017-07-15 Thread Jonathan Wakely
WG21 just approved this change as a DR for C++17, so that class template argument deduction works when using std::adopt_lock with a std::scoped_lock. * include/std/mutex (scoped_lock): Reorder std::adopt_lock_t parameter as per P0739R0. * testsuite/30_threads/scoped_lock/c