the following code just compile with "jthread not in std". with clang 18
clang++ -std=c++26 -stdlib=libc++
and the implementation of jthread is in __thread/jthread.h, but for some reason macro out. why?
#include <thread>
using namespace std::chrono_literals;
int main() {
std::jthread t([] { std::this_thread::sleep_for(1s); });
}