[C ++] C ++ 0x

Source: Internet
Author: User

According to the latest news, the iso c ++ Committee has approved the final draft C ++ 0x. The latest C ++ standard will be released in the summer. The new standard named C ++ 0x is called C ++ 2011.

 

Disadvantage: concepts cannot afford to miss a rare opportunity to upgrade the template; typeof cannot implement but comes with a cheap alternative to decltype; it does not solve the fundamental problem (out-of-bounds) in memory processing ); exception Handling has almost no improvement.

 

Highlights: the auto keyword simplifies template programming; has standard threads and locks; strong enumeration; some syntactic sugar borrowed from other languages; put some things that are already fact standards into standards.

 

Conclusion: This is an improvement and upgrade to the C ++ language, but it is not revolutionary. If you are a C ++ProgramIn the future, this new standard will be worth your use. But do not expect C ++ to be as simple as C.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.