C ++ standards, a little confused?

I know that the standard was ratified in 1998, and an update to eliminate some defects in the standard took place in 2003 (ISO standards), although I am not sure about the relationship between C ++ 98 and ANSI C.

I remember that several times reading the C ++ 1998 standard was based on one of the C standards, I would suggest that ANSI C89, not 99, is this correct?

Also, I would be right to assume that C ++ 0x is the official alias of the next standard "be", and C ++ 03..11..xx are just certain "updates" that work in the direction of C ++ 0x standard C ++ 11 is an update that happened in '11?

In my life I can’t find too much on this online site, searching for what was based on what the “list of C ++ standards and what they represent”, for example, brings almost nothing, if only I you don’t need a fresh mind to find anything else.

Thanks.

+6
source share
2 answers

Yes, C ++ 98 is aligned with C89. Same thing with C ++ 03, which is the current official standard, but so close to C ++ 98 that many people call it an update to this older standard.

The upcoming C ++ standard is now codenamed C ++ 0x, but will become C ++ 11 if ISO manages to approve it this year. This is a major update to C ++ 03 and to some extent will combine C ++ with the C99 standard (mainly from the point of view of library functions presented in C99).

+4
source

Have you tried the Wikipedia article ?

To date, there are only two C ++ ISO standards, C ++ 98 and C ++ 03. Everything that is behind this is not yet complete and collectively is called "C ++ 0x". It is expected to become the standard in 2011 or 2012, so some people already call it "C ++ 11", but this is premature.

There are also two ISO C standards, C90 and C99. C90 is essentially equivalent to ANSI C89.

+4
source

Source: https://habr.com/ru/post/891280/


All Articles