Jun 22, 2020

C++20 | New Features of C++20 | Finalized | Coding Winds

C++ 20

 

C++ 20 is an informal name of revision of the ISO standard C++ programming language expected to follow C++17. This standard is technically finalized by WG21 in Prague in February 2020. This version was supposed to be published in the end of May 2020.

 

C++ 20 introduces many new features in the existing version of C++ (C++14 and C++17) , some are listed below :

1.    Three comparison operators ( <=> ) and ( == () )operator = default

2.    char8_t

3.    modules

4.    Initialization of an additional variable within a range-based for statement.

5.    Removing the need for “typename” in certain circumstances.

6.    “constinit” keyword.

 

New header files

1.    <concepts>

2.    <coroutine>

3.    <compare>

4.    <version>

5.    <source_location>

6.    <format>

7.    <span>

8.    <ranges>

9.    <bit>

10.<numbers>

11.<syncstream>

                                    And many more….

So yes people, these are some of the main new features of C++20, which we need to know if we are familiar with the C++ language.

NOTE : This is not all about the C++20 because on the technical level it is very subtle to understand every change which has been made in C++. If you still are curious to know about it. Go for this C++20 Wikipedia.

 

Hope all your doubts regarding this are clear now.

If you still have any doubt on this topic then do come to us via email "sophomoretechs@gmail.com" or via instagram "@coding.winds".



No comments:

Post a Comment