Do section numbers differ between the C++11 standa

2019-01-24 03:10发布

问题:

Does the numbering of clauses, sections, subsections, paragraphs, etc., differ between the C++11 standard ISO/IEC 14882:2011 and the later, gratis-downloadable draft N3337?

To be clear: my question is not whether it is advisable to use N3337 in place of the official standard, for that question has already been well answered on Stackoverflow; but only whether the numbering differs.

For reference, here is the most nearly relevant non-Stackoverflow answer I find (if you follow the link, refer specifically to the item dated "Sun Mar 18, 12 06:41 PM"). Also for reference, @Nemo draws attention to a related Stackoverflow question with answers here.

回答1:

N3290, which is protected, is considered by the committee to be the final draft. I have not purchased the ISO/IEC standard and compared them to ensure that it is identical to N3290. I have also not heard any discussion on the committee questioning that it is identical.

I've compared the cross references of N3290 and N3337. The cross references contain a complete list of the section.tags and section numbers. They are identical except for two minor changes:

N3290 has:

unord.map.modifers 23.5.4.4
unord.multimap.modifers 23.5.5.3

N3337 has:

unord.map.modifiers 23.5.4.4
unord.multimap.modifiers 23.5.5.3

(modifers -> modifiers)

I do not know about paragraph numbers. But here is a report from the editor concerning the changes made since the final draft.