[libcxx-commits] [libcxx] [libc++] Make sure all `jthread` tests use `support::make_test_jthread`. (PR #70271)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 26 07:11:06 PDT 2023


ldionne wrote:

So this test is a bit special -- it intends to test the constructor itself. If a platform happened not to have support for that constructor, it would be expected for it to fail on that platform. By using `make_test_jthread`, we are essentially bypassing the constructor that the test is trying to test!

https://github.com/llvm/llvm-project/pull/70271


More information about the libcxx-commits mailing list