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 ++!