The International Organization for Standardization's C++ group has agreed upon the finalized version of 'C++20,' the first major update to the 35 year-old programming language since C++17 in 2017.
"C++20 has now received final technical approval and is done with ISO balloting, and we expect it to be formally published toward the end of 2020 after we finish a final round of ISO editorial work," said Herb Sutter, a Microsoft engineer and long-time chair of the Working Group 21 C++ ISO committee.
Two of the more important features coming to C++20 are 'modules' and 'coroutines.'
Modules stand in for header files and helps isolate the effects of macros while supporting larger builds. This marks the "first time in about 35 years that C++ has added a new feature where users can define a named encapsulation boundary," Sutter noted recently.
Coroutines represents a generalization of a function. "Regular functions always start at the beginning and exit at the end, whereas coroutines can also suspend the execution to be resumed later at the point where they were left off," Sutter said.
View Full Article
No entries found