Created on 2024-05-17.00:00:00 last changed 4 days ago
Proposed resolution (approved by CWG 2024-06-26):
Change in 4.1.1 [intro.compliance.general] bullet 2.1 as follows:
If a program contains no violations of the rules in Clause 5 through Clause 33 and Annex D, a conforming implementation shall, within its resource limits as described in Annex B,accept and correctly execute that program, except when the implementation's limitations (see below) are exceeded.
Insert a new paragraph before 4.1.1 [intro.compliance.general] paragraph 8 as follows:
An implementation is encouraged to document its limitations in the size or complexity of the programs it can successfully process, if possible and where known. Clause Annex B [implimits] lists some quantities that can be subject to limitations and a potential minimum supported value for each quantity.
A conforming implementation may have extensions (including additional library functions), ...
Change in Clause Annex B [implimits] paragraph 1 and paragraph 2 as follows:
Annex B
(normativeinformative)Because computers are finite, C++ implementations are inevitably limited in the size of the programs they can successfully process. Every implementation shall document those limitations where known. This documentation may cite fixed limits where they exist, say how to compute variable limits as a function of available resources, or say that fixed limits do not exist or are unknown.
The limits may constrain quantities that include those described below or others.Implementations can exhibit limitations for various quantities; some possibilities are presented in the following list. The bracketed number following each quantity isrecommended as thea potential minimum value for that quantity.However, these quantities are only guidelines and do not determine compliance.
CWG 2024-05-17
CWG was divided whether to relax the documentation requirement or not. As a next step, the wording for a relaxation should be reviewed.
[Accepted as a DR at the June, 2024 meeting.]
It is unclear whether Clause Annex B [implimits] is normative, and what its normative content is. The Annex was editorially switched from "informative" to "normative" in September 2020 with this change description:
[intro.compliance.general, implimits] Cite Annex B normatively.
This change also promotes Annex B [implimits] to a "normative" annex. The existing wording in the annex is already normative in character.
On the other hand, this sentence in Clause Annex B [implimits] paragraph 2 seems to say otherwise:
... However, these quantities are only guidelines and do not determine compliance.
If it is indeed intentional that the actual quantitative limits are just guidelines, then the normative (conformance-related) content is limited to Clause Annex B [implimits] paragraph 1, which establishes documentation requirements only:
Because computers are finite, C++ implementations are inevitably limited in the size of the programs they can successfully process. Every implementation shall document those limitations where known. This documentation may cite fixed limits where they exist, say how to compute variable limits as a function of available resources, or say that fixed limits do not exist or are unknown.
However, those general documentation requirements are best expressed in 4.1.1 [intro.compliance.general], leaving Clause Annex B [implimits] with just an informative list of minimum suggested quantities.
Possible resolution [SUPERSEDED]:
Change in 4.1.1 [intro.compliance.general] bullet 2.1 as follows:
If a program contains no violations of the rules in Clause 5 through Clause 33 and Annex D, a conforming implementation shall, within its resource limitsas described in Annex B(see below), accept and correctly execute that program.
Insert a new paragraph before 4.1.1 [intro.compliance.general] paragraph 8 as follows:
An implementation shall document its limitations in the size of the programs it can successfully process, where known. This documentation may cite fixed limits where they exist, say how to compute variable limits as a function of available resources, or say that fixed limits do not exist or are unknown. Clause Annex B [implimits] lists some quantities that can be subject to limitations, and recommends a minimum value for each quantity.
A conforming implementation may have extensions (including additional library functions), ...
Change in Clause Annex B [implimits] paragraph 1 and paragraph 2 as follows:
Annex B
(normativeinformative)Because computers are finite, C++ implementations are inevitably limited in the size of the programs they can successfully process. Every implementation shall document those limitations where known. This documentation may cite fixed limits where they exist, say how to compute variable limits as a function of available resources, or say that fixed limits do not exist or are unknown.
The limits may constrain quantities that include those described below or others.Implementations can exhibit limitations, among others for the quantities in the following list. The bracketed number following each quantity is recommended as the minimum value for that quantity.However, these quantities are only guidelines and do not determine compliance.
History | |||
---|---|---|---|
Date | User | Action | Args |
2024-12-17 09:54:02 | admin | set | status: dr -> drwp |
2024-07-20 13:52:34 | admin | set | status: ready -> dr |
2024-06-26 21:21:27 | admin | set | status: tentatively ready -> ready |
2024-05-31 21:07:31 | admin | set | messages: + msg7721 |
2024-05-31 21:07:31 | admin | set | status: review -> tentatively ready |
2024-05-17 22:24:28 | admin | set | messages: + msg7704 |
2024-05-17 22:24:28 | admin | set | status: open -> review |
2024-05-17 00:00:00 | admin | create |