llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique
Arthur O'Dwyer 317e92a3e8 [libc++] Enable `explicit` conversion operators, even in C++03 mode.
C++03 didn't support `explicit` conversion operators;
but Clang's C++03 mode does, as an extension, so we can use it.
This lets us make the conversion explicit in `std::function` (even in '03),
and remove some silly metaprogramming in `std::basic_ios`.

Drive-by improvements to the tests for these operators, in addition
to making sure all these tests also run in `c++03` mode.

Differential Revision: https://reviews.llvm.org/D104682
2021-06-22 13:35:59 -04:00
..
thread.lock.unique.cons [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.lock.unique.locking [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.lock.unique.mod
thread.lock.unique.obs [libc++] Enable `explicit` conversion operators, even in C++03 mode. 2021-06-22 13:35:59 -04:00
types.pass.cpp