1.4.2
版本发布时间: 2023-09-15 07:37:27
federico-busato/Modern-CPP-Programming最新发布版本:1.7.0(2024-03-31 08:12:54)
Basic Concepts I
- Added C++23 floating-point types: range, suffix, prefix
- Added
ptrdiff_t
- Minor improvements
Basic Concepts II
- Minor improvements
Basic Concepts III
- Added West, East notation for
const
- Improved
constexpr
section and explained the behavior of the keyword within a structure - Added C++23
if consteval
Basic Concepts IV
- Added Overloading and
=delete
section - Added
consteval
lambda example - Added
[[nodiscard]]
attribute - Added C++23 conditional preprocessing
Object-Oriented Programming I
- Added "Defaulted Constructors, Destructor, and Operators" section
Object-Oriented Programming II
- Added C++23 Multidimensional Subscript Operator
- Added C++23
static operator()
Templates and Metaprogramming I
- Improved
using
keyword section - Simplified the type traits section
Templates and Metaprogramming II
- Minor improvements
Code Conventions
- Minor improvements
Ecosystem I
- Improved debugging introduction including the explanation of "Errors, Defects, and Failures", "Cost of Software Defects", "Types of Software Defects"
Ecosystem II
- Added
hypergrep
tool
Utilities
- Added C++23
std::print
- Removed redundant code
Advances Topics II
- Added dangling reference undefined behavior
Performance Optimizations I
- Update Memory Hierarchy numbers
- Update Memory Hierarchy figure
Performance Optimizations II
- Added C++23
std::unreachable()
- Added "Std Library and Other Language Aspects" section (partially moved from Optimizations III)