Thursday 5 January 2017

A Newer Version of C++ Introduced!



There has been a revolution in the programming world as a newer version of C++ which brings both simplicity and power has been introduced.

C++ is a general-purpose programming language with imperative, object-oriented and generic programming features. It was developed some in 1998 by Bjarne Stroustrup at Bell Labs , as an extension of the C language since 1979, as he wanted an efficient and flexible language similar to C, which also provided high-level features for program organization.

C++ is an awesome and reliable modern object-oriented language close enough to the machine architecture and produces programs that run about as fast as possible.

However, as the years go by, revolution has always been a norm. Hence the update of C++.  New features have been added and they do not in any way or means lead to any break in existing programs.
C++ 17
It was discussed at the recent standards meeting in Oulu, Finland where the actual and final features list of C++ has been finalized. The new C++ 17 standards are introducing new features like structured bindings and if initialisers, making this vintage programming language “feature complete”.

Below is an outline of features  the new C++ 17 possesses:
  •     C++17 is based on C11
  •     Dynamic memory allocation for over-aligned data
  •     Structured bindings
  •     Guaranteed copy elision
  •     Forward process guarantees (FPG)
  •     if (init; condition) and switch (init; condition)
  •     Inline variables   
  •     constexpr if
  •     A weaker version of fixed order-of-evaluation for expressions
  •     Template argument deduction for class templates
Other non-C++17 features will be released later as add-ons in future releases.

The c++ community says the update aims to make C++ an easier language to work with and adds powerful technical specifications.

Facebook Comment Box

Google Comment Box

0 comments:

Post a Comment