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

What should the standard say for changes listed in Annex C that are backported by implementations? #6247

Closed
cpplearner opened this issue May 8, 2023 · 7 comments

Comments

@cpplearner
Copy link
Contributor

Some changes are listed in Annex C [diff] as differences between versions of C++, but implementations choose the new behavior even in old standard modes. Examples are:

Should there be a note saying that implementations sometimes apply these changes in old standard modes?

Should these changes be removed from Annex C?

@jwakely
Copy link
Member

jwakely commented May 8, 2023

No, they should not be removed. They describe differences between C++ standards, and so should be documented in the standard. Those differences don't disappear just because implementations backport them.

The behaviour of implementations should be documented by implementations, not in the standard.

@cpplearner
Copy link
Contributor Author

I'd expect a brief note that describes the reality. Otherwise readers could be misled.

@jwakely
Copy link
Member

jwakely commented May 8, 2023

Users are not reading the annexes of the standard

@jwakely
Copy link
Member

jwakely commented May 8, 2023

These are informational notes about changes between revisions of ISO standards. If you want to know about real world implementation status, look elsewhere.

@jensmaurer
Copy link
Member

Agreed with @jwakely ; the standard is not the manual for your implementation. I think the phrasing in the Annex is clear that it discusses differences between releases of the standard.

@frederick-vs-ja
Copy link
Contributor

Should we say which changes in Annex C are officially defect reports?

@jensmaurer
Copy link
Member

There are no defect reports for C++, since we release a new standard every three years (that, officially, is unrelated to any previous standard).

We would have Defect Reports if we would publish a TC (Techincal Corrigendum).

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

No branches or pull requests

4 participants