Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon

ISO C++ Committee announces that C++20 design is now feature complete

Save for later
  • 2 min read
  • 25 Feb 2019

article-image

Last week, as per the schedule, the ISO C++ Committee met in Kona, Hawaii to finalize the feature set for the next International Standard (IS), C++ 20. The committee has announced that C++20 is now feature complete and they are planning to finish the C++20 specification at the upcoming meeting, which is scheduled to happen in July 2019. Once the specification is complete they are planning to send the Committee Draft for review.

Some of the features this draft include

Modules


With the introduction of modules, developers will not require to separate their files into header and source parts. The committee has now fixed internal linkage escaping modules.

Coroutines


The committee has gone through the coroutines proposals and has decided to go ahead with the specification. According to the specification of this feature, three keywords will be added: co_await, co_yield, and co_return.

Unlock access to the largest independent learning library in Tech for FREE!
Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
Renews at $19.99/month. Cancel anytime

Contracts


Contracts are made up of preconditions, postconditions, and assertions. These act as a basic mitigation measure when a program goes wrong because of some mismatch of expectations between parts of the programs. The committee is focused on refining the feature and renamed expects/ensures to pre/post.

Concepts


The concepts library include the definitions of fundamental library concepts, which are used for compile-time validation of template arguments and perform function dispatch on properties of types.

Ranges


The ranges library comes with components for dealing with ranges of elements including a variety of view adapters.

To read the entire announcement, check out this Reddit thread.

Code completion suggestions via IntelliCode comes to C++ in Visual Studio 2019

How to build Template Metaprogramming (TMP) using C++[Tutorial]

Mio, a header-only C++11 memory mapping library, released!