9

In the ISO standard C++ : the latest working draft is n3291 ,it is not publicly available. But n3290 is Available. up-to February the draft is n3242. May i know now .. which draft is more correct to become an final draft? Because there are many differences in n3242 compared with n3290 ?

in this link also they gave ..: current working draft as n3242 ? (why not n3290)

http://www.open-std.org/jtc1/sc22/wg21/

http://en.wikipedia.org/wiki/C%2B%2B0x

please tell me which draft is correct one to follow (till the final draft release ) ?

1

2 Answers 2

9

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.]

5
  • @ Nemo : may i know ur ..Conclusion finally ... :) that n3290 is best one or n3242 ?
    – user751747
    Aug 30, 2011 at 5:54
  • 1
    n3291 is just an updated version of n3242. As I said, I believe all of the changes were minor. (Like the example I gave, or like adding "noexcept" to all of the functions in the <atomic> header.) n3242 is perfectly adequate for all but the most obscure purposes, IMO.
    – Nemo
    Aug 30, 2011 at 6:02
  • @user - N3290 is the new standard (save some spell checking and typography).
    – Bo Persson
    Aug 30, 2011 at 6:44
  • 1
    @nemo - Considering that the original publisher has password protected the document, I guess they do not want others to publish it. ISO will make their edition available as soon as it leaves the print shop. Real Soon Now!
    – Bo Persson
    Aug 30, 2011 at 6:46
  • 1
    The most important practical point seems to be: Do references to paragraph numbers in n3242 match the actual standard? It seems the answer to that is "yes". Nice!
    – Sjoerd
    Aug 30, 2011 at 15:56
1

The difference between N3290 and N3291 is the title page. N3291 says "Working Draft;" the other one doesn't. Other than that, they say the same thing.

Sadly, neither is available online due to ISO issues. The final standard will probably only contain fairly minor changes from N3290, so they're too close to final to publish. Especially considering that N3291 was voted as the FDIS.

1
  • @user751747: Need what in terms of them? Unless you actually have N3290/91, you're probably not going to get it. So N3242 is the best you're going to get. Aug 30, 2011 at 5:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.