C ++ 14 is coming soon

Source: Internet
Author: User

Author: Tang Feng

Home page: www.cnblogs.com/liyiwen

C ++ 11 has been around for two years, and major compilers are also stepping up their implementation of C ++ 11 features and Libraries (here is a GCC, msvc, clang support for C ++ 11 ). The C ++ Standards Committee has not stopped before we can digest the new C ++. From the official release of C ++ 11 to today, they have been working hard for C ++ 14 (and later C ++ 17. In April 20, a news article from the C ++ Standards Committee website said that the draft vote for C ++ 14 had been completed. This means that the content of C ++ 14 is basically finalized, including:

  • Generic Lambdas (generic lambda expressions, that is, parameters can no longer be explicitly specified, but can be automatically deduced by the compiler)
  • Dynamic Arrays (an improved version of c99 vlas) (dynamic array)
  • Variable templates (template variable)
  • Reader/writer locks (read/write lock)
  • optional<T>
  • Standard Library User-Defined literals (User-Defined literal constants in the Standard Library)
  • Make_unique (auxiliary function used to generate the unique smart pointer)

And some other improvements to the standard library. C ++ 14 can be regarded as a patch version of the C ++ 11 feature. It also adds many important language features (and standard libraries) that cannot be added in C ++ 11 ).

With the birth of C ++ 14, there will be the following additional proposals (currently working in parallel)

  • File System-a platform-independent file system library developed based on boost. filesystem Version 3
  • Networking-network library, which is currently only part
  • Concept Lite-part of the concept that has been killed in C ++ 11 for various reasons

On the following page, I will describe more about C ++ 14 proposals and "conjecture": http://www.meetingcpp.com/index.php/br/items/the-bristol-papers-the-state-of-c.html. If you are interested, you can find a lot of interesting things in it.

The C ++ Standards Committee has realized that this is an era of rapid changes. They are making their own efforts for the future of C ++, c ++ is undergoing exciting changes.

What will c ++ do in the future? Maybe it's a matter of benevolence and wisdom. But no matter what it is, I like 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.