C++ 17: A Newer Version of C++ to bring more power and simplicity

C++ 17: A Newer Version of C++ to bring more power and simplicity


Funny and Interesting Facts About Programming
C Compiler for Android – Run C/C++ Programs on Android

There is no programmer in the world who don’t know about C++ programming language. The updated version of C language with object orientation. In this article, I’ll be talking about newer version C++ 17 which will be released in 2017.

C++ was introduced 33 years ago by Bjarne Stroustrup and for that, he deserves our big salute. As long as you keep it simple C++ is a good and reasonably modern object-oriented language that is still close enough to the machine architecture to produce programs that run about as fast as possible.

But every programming language needs to be updated time to time. In the case of C++, New features have to be introduced in such a way that they don’t break existing programs. This has resulted in a less-than-perfect development of the language, where there is often more than one way of achieving the same result.

It has been discussed at the recent standards meeting in Oulu, Finland where the actual and final features list of C++ has been finalised. The new C++ 17 standards are introducing new features like structured bindings and if initialisers, making this vintage programming language “feature complete”.

The C++ community is calling C++17 the start of a new era that will bring powerful technical specifications and overcome the known issues. The non-C++17 features will be released later as add-ons in future releases.

Here’s the list of the most features that will be on C++ 17:

  1. C++17 is based on C11
  2. Dynamic memory allocation for over-aligned data
  3. Guaranteed copy elision
  4. Forward process guarantees (FPG)
  5. Structured bindings
  6. if (init; condition) and switch (init; condition)
  7. constexpr if
  8. Inline variables
  9. A weaker version of fixed order-of-evaluation for expressions
    Template argument deduction for class templates

According to the c++ community, this major update aims to make C++ an easier language to work with and brings powerful technical specifications.

Read also: Google’s New Website To Learn Computer Science and Programming

COMMENTS

WORDPRESS: 0