Jun 01, 2021 Article blog
C++11
been a long time coming out, and there's been a lot of good summary articles on the Internet about the new features of
C++11
so this article is about taking you through some of the new features of
C++11
C++
a language that has a large user base and is also used in multiple areas.
From the emergence of
C++98
to the official finalization of
C++11
has gone through more than a decade of accumulation.
It's the second major version of
C++11
(the first one is C?98, the latter is C?17, and C?14 is a small improvement on C?11),and is the most important update from
C++
C++98
It introduces a number of changes, standardizes established practices, and improves the abstractions available to
C++
programmers.
As an important complement and optimization of
C++11
C++20
brings the language to the door of modernization, and the expanded features of all these new standards breathe new life into
C++
language.
C++14/17
C++11
an extension and fix to the current
C++11
C++
and it not only includes new skills in the core language, but also extends the standard library (STL) of
C++
incorporating most of
C++ Technical Report 1
(TR1) libraries (except for special functions of mathematics).
Key new features of C?11:
lt; t ypeindex& lt; t ype_traits& lt; c hrono& lt; i nitializer_list& lt; t uple& lt; s coped_allocator& lt; c stdint& lt; c inttypes& lt; s ystem_error& lt; c uchar& lt; a rray& lt; f orward_list& lt; u nordered_set& lt; u nordered_map& lt; r andom& lt; r atio& lt; c fenv& lt; r egex& lt; a tomic& lt; t hread& lt; m utex& lt; f uture& lt; condition_variable&