Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complication with trivial type for C++26 #51

Open
wusatosi opened this issue Dec 16, 2024 · 3 comments
Open

Complication with trivial type for C++26 #51

wusatosi opened this issue Dec 16, 2024 · 3 comments

Comments

@wusatosi
Copy link
Member

wusatosi commented Dec 16, 2024

Trivial type trait will be deprecated in C++26, we need to make sure we omit trivial type check and its related facilities to be compatible with C++26.

@jbab
Copy link
Collaborator

jbab commented Jan 30, 2025

As of R14, the specification still references std::is_trivial. I suggest to hold back any changes until the specification catches up.

@wusatosi
Copy link
Member Author

wusatosi commented Jan 30, 2025

As of R14, the specification still references std::is_trivial. I suggest to hold back any changes until the specification catches up.

The paper has been accepted into the standard draft, per my understanding the paper itself will not be updated anymore, all update will be done via another paper or direct edit to the draft.

P3247 Deprecate the notion of trivial types has already been accepted into the draft and changed the wording of inplace_vector, see: cplusplus/draft#7439

Specific diff here: https://github.com/cplusplus/draft/pull/7439/files#diff-3b5851f7056b7c68cb3ba2ab51cf0b75a780c6a11e5e181770067700454ace7b

@wusatosi
Copy link
Member Author

You can also check here for the latest draft: https://eel.is/c++draft/inplace.vector

All reference to trivial type has already been replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants