B.4 — Introduction to C++20

What is C++20? In February of 2020, the ISO (International Organization for Standardization) approved a new version of C++, called C++20. C++20 contains the most changes to the language since C++11. New improvements in C++20 For your interest, here’s a list of the major changes that C++20 adds. Note that …

11.3 — Function overload resolution and ambiguous matches

In the previous lesson (), we discussed which attributes of a function are used to differentiate overloaded functions from each other. If an overloaded function is not properly differentiated from the other overloads of the same name, then the compiler will issue a compile error. However, having a set of …

10.3 — Numeric conversions

In the previous lesson (), we covered numeric promotions, which are conversions of specific narrower numeric types to wider numeric types (typically int or double) that can be processed efficiently. C++ supports another category of numeric type conversions, called . These numeric conversions cover additional type conversions between fundamental types. …