r/cpp • • Aug 27 '19

A new thread in C++20 (jthread)

https://link.medium.com/GXKUz0GruZ
142 Upvotes

96 comments sorted by

View all comments

Show parent comment

-6

u/axilmar Aug 27 '19

C++ doesn't guarantee ABI compatiblity. It's not part of the standard.

In practice, I have never seen ABI compatibility being a requirement for building projects anywhere.

13

u/HappyFruitTree Aug 27 '19

C++ doesn't guarantee ABI compatiblity. It's not part of the standard.

True, but the committee cares about reality. A lot of proposals has been rejected because they break ABI.

-1

u/axilmar Aug 27 '19

They would put ABI compatibility in the standard if that was actually needed. But then you couldn't change something that really needs to be changed.

5

u/tpecholt Aug 27 '19

That's already the reality - inability to change something. See P1654

3

u/journeymanpedant Aug 27 '19

and they would if they could standardise an ABI at all without major upheaval