ISO C++ standard draft

For a while, n3291 was available from the obvious URL (just search and replace n3242 with n3291 in the Wikipedia link). But I guess somebody decided that was too close to the final version so it is no longer accessible.

Thus Wikipedia does not link to it because there is nothing to link to.

I did stash away a copy of n3291 while it was available. I have not done an exhaustive search, but there appear to be no substantive changes; only clarifications. For example, section 1.8 (6) of n3242 reads:

Unless an object is a bit-field or a base class subobject of zero
size, the address of that object is the address of the first byte it
occupies. Two distinct objects that are neither bit-fields nor base
class subobjects of zero size shall have distinct addresses.

While the same section of n3291 reads:

Unless an object is a bit-field or a base class subobject of zero
size, the address of that object is the address of the first byte it
occupies. Two objects that are not bit-fields may have the same
address if one is a subobject of the other or if at least one is a
base class subobject of zero size and they are of different types;
otherwise, they shall have distinct addresses.

(n3291 uses red strike-through and underlined blue text to highlight changes from n3242, so it was not hard to find this example.)

If someone can make a convincing argument that it would be legal for me to re-publish n3291, I would be happy to make it available. I certainly did not have to enter any password or even click on an agreement before downloading it…

[Update: In my first version of this answer, I wrote “n3290” when I meant “n3291”. Kind of weird that the “working draft” has a higher number than the “final version”. Anyway, what was freely available for a while was n3291.]

[Update 2: N3337 is an initial draft of the next C++ standard, and it is very similar to the C++11 final standard. See:

Do section numbers differ between the C++11 standard and the gratis draft N3337?

So you have your choice of free drafts; the last one before the official standard (N3242), and the first one after it (N3337). All appear to use the same paragraph numbering.]

Leave a Comment