
- C++ Basics
- C++ Home
- C++ Overview
- C++ Environment Setup
- C++ Basic Syntax
- C++ Comments
- C++ Data Types
- C++ Variable Types
- C++ Variable Scope
- C++ Constants/Literals
- C++ Modifier Types
- C++ Storage Classes
- C++ Operators
- C++ Loop Types
- C++ Decision Making
- C++ Functions
- C++ Numbers
- C++ Arrays
- C++ Strings
- C++ Pointers
- C++ References
- C++ Date & Time
- C++ Basic Input/Output
- C++ Data Structures
- C++ Object Oriented
- C++ Classes & Objects
- C++ Inheritance
- C++ Overloading
- C++ Polymorphism
- C++ Abstraction
- C++ Encapsulation
- C++ Interfaces
New Features of C++17
C++17 is the latest version of standard C++ language. C++11 and C++14 are the previous versions of C++. The current version makes several additions to the core language while some previous features are also removed. C++17 is known as feature full or feature complete.
There are some of the new changes introduced in C++17 −
Library changes - utils
This is one of the most amazing feature of C++17. It merges the features and patterns of other libraries. Many of the sub-libraries are merged together into standards.
The following features are added to utils library in C++17 −
- std::variant
- std::search
- std::string_view
- std::optional
- std::any
Library changes - Filesystem
The previous standard libraries lacked some key features. C++ committee boosted up the libraries and merged many systems into standard.
The following features are added to Filesystem in C++17 −
- Working with path object
- Compiler/ Library support
- Traversing a path
Library Changes - Parallel Algorithm
It appends some new features to previous features of C++11 and C++ 17. It unlocked the auto parallelization or auto vectorization feature for standard library.
The following features are added to Parallel algorithms in C++17 −
- Algorithm update
- Execution polices
- New algorithms
Attributes
C++17 has added three new attributes, such as [[maybe_unused]], [[fallthrough]] and [[nodiscard]].
Simplification
There are several features to simplify the code in previous versions of C++. C++17 has added this feature in the following features for the simplification of code −
- Init statement for if/ switch
- Inline variables
- Structured binding declarations
Searchers
C++17 improved the old searchers in previous versions of C++ language. boyer_moore_horspool_searcher, default_searcher and boyer_moore_searcher are the new searchers in C++17.
- Related Articles
- The complete list of new features in MySQL 8.0
- What are the new features in MySQL 8.0
- What are the new features in Swift 4.0?
- Mega ios updated with new photosync and passcode lock features
- What are the major new features in Arduino IDE 2.0?
- What are the new features added in Python 3.10 version?
- General Features of Traction Motors: Mechanical Features & Electrical Features
- What are the new features added to Stream API in Java 9?
- How ES6 (ES2015) evolved and brought new features to modern day JavaScript?
- What are the best New features added to iPhone and iPad with iOS12?
- Features of Underscore.js
- Hidden features of C++
- Features of Mesopotamian Civilization
- Features Of Indifference Curve
- Special features of Z-80
