What is the difference between C++0x and C++11?

前端 未结 4 1212
孤独总比滥情好
孤独总比滥情好 2021-01-30 03:10

I see mixed usage of these two terms here on SO.

Wikipedia says

C++11, also formerly known as C++0x ...

but I am not sure wh

4条回答
  •  情话喂你
    2021-01-30 03:32

    When work began on the new standard, in 1998 or so, no-one knew which year it would be finalised in - so the "x" stood for an unknown year, and a hope that it would be finalised within ten years or so.

    In the end, it was finalised in 2011, and so the standard is now known colloquially as C++11, and officially as ISO/IEC 14882:2011.

    Now that that standard is official, work is continuing on the next; again, no-one knows when that will be done, but it's hoped that it will take less than a decade, and so it's colloquially known as C++1x.

提交回复
热议问题