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 |
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
The c++ community says the update aims to make C++ an easier language to work with and adds powerful technical specifications.
0 comments:
Post a Comment