11

Possible Duplicate:
Where do I find the current {X} standard?

I have a simple Question !

I am looking for soft copy of latest C++ Standard release. I have ISO/IEC 14882 First Edition ,1998-09-01, But i have doubt if it is latest.

I visited http://www.open-std.org/jtc1/sc22/wg21/, There are many drafts.

Please guide me which one is latest and i should refer.

Community
  • 1
  • 1
Satbir
  • 6,358
  • 6
  • 37
  • 52
  • Wow, this is not something I usually see here. – Andrejs Cainikovs Oct 12 '09 at 16:43
  • 1
    See http://stackoverflow.com/questions/81656/where-do-i-find-the-current-x-standard#83763 – mmmmmm Oct 12 '09 at 16:46
  • Thanks all , yes i found it is duplicate, But could not found in my initial search ..Thanks – Satbir Oct 12 '09 at 16:51
  • According to [this](http://isocpp.org/std/the-standard) site: "As of November 2011, the LaTeX source of the draft standard is being actively maintained publicly at GitHub. Check out the repo to get the current snapshot, or any previous version in the history." PDF of the latest working draft is also available on the [same site](http://isocpp.org/std/the-standard). – crayzeewulf Oct 22 '13 at 21:45

4 Answers4

6

If you don't want to pay money, you can always use the final draft. It is basically the same with only minor edits. And it is free.

You can find a PDF here. Otherwise just search for 14882 final draft.

edit: Updated link to the document instead of the index

Steve Rowe
  • 19,411
  • 9
  • 51
  • 82
1

The current standard is from 2003 (the numbers don't change with revisions, i.e. it's still ISO/IEC 14882). The standard isn't free, you have to buy it or perhaps borrow it from a library if you want to read it.

avakar
  • 32,009
  • 9
  • 68
  • 103
  • I have some doubts, I need to clarify , So i need to search a library first :) – Satbir Oct 12 '09 at 16:48
  • Or you can post a question on this site. Surely, someone will answer and cite the relevant portions of the standard. – avakar Oct 12 '09 at 16:49
1

The bad news is that released versions of the C++ standard aren't (at least legally) available for free. The good news is that as reference books go, the C++ Standard is rather on the inexpensive side -- $30 US at the present time.

If you want to find out about the next standard, the current draft is N2960, a free download.

Edit: It's worth noting that while the standard was updated in 2003, the changes in that case were mostly pretty minimal. Virtually none really changed the real definition of the language itself. Probably the single largest technical change was to require that std::vector use contiguous storage. This wasn't originally required, but every known implementation did it anyway, so it just turned how things were anyway into a requirement. Unless your question is really arcane, chances are pretty good that the standard you have is entirely adequate.

Jerry Coffin
  • 476,176
  • 80
  • 629
  • 1,111
  • I was under the impression that TR1 was fairly significant - but maybe you don't regard that as part of the 2003 standard (with probably some justification). – Jonathan Leffler Oct 13 '09 at 01:49
  • TR1 is fairly significant, but I don't consider it part of the standard -- and the committee doesn't either. Oddly enough, there are actually *two* TR1's, but each is considered an independent entity, not part of the standard to which it applies. Most of the more recent TR1 (i.e. essentially everything but the random number generators) was/will be incorporated into C++ 0x though. – Jerry Coffin Oct 13 '09 at 01:59
0

Please see Bjarne Stroustrup's FAQ.

Brian Neal
  • 31,821
  • 7
  • 55
  • 59