re PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though…
re PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though it's not required to be a complete type) PR libstdc++/60497 * include/debug/array (get): Qualify call to other get overload. * include/profile/array (get): Likewise. * include/std/array (get): Likewise. * include/std/functional (_Mu, _Bind, _Bind_result): Qualify std::get. * include/std/mutex (unique_lock, call_once): Use __addressof. (__unlock_impl): Remove unused template. (__try_to_lock): Declare inline. (__try_lock_impl::__do_try_lock): Qualify function calls. (lock): Avoid narrowing conversion. * testsuite/20_util/bind/60497.cc: New. * testsuite/23_containers/array/element_access/60497.cc: New. * testsuite/30_threads/call_once/60497.cc: New. * testsuite/30_threads/unique_lock/cons/60497.cc: New. From-SVN: r210388
Showing
libstdc++-v3/testsuite/20_util/bind/60497.cc
0 → 100644
Please
register
or
sign in
to comment