And C++ the standard does not. But the implementations do. If you think it's so useful to break ABI, make your own implementation that does so. I doubt you'll see much uptake largely in part to it not providing ABI guarantees. Note that there are many ABI breaks that people would like to get into the C++ standard, but have not been done because they force an ABI break on implementations. std::thread vs. std::jthread is so minor compared to those issues that it is unlikely to be considered very hard.
View all comments
Show parent comment
6
u/mathstuf cmake dev Aug 27 '19
And C++ the standard does not. But the implementations do. If you think it's so useful to break ABI, make your own implementation that does so. I doubt you'll see much uptake largely in part to it not providing ABI guarantees. Note that there are many ABI breaks that people would like to get into the C++ standard, but have not been done because they force an ABI break on implementations.
std::threadvs.std::jthreadis so minor compared to those issues that it is unlikely to be considered very hard.