C++C++14C++17C++20Learn C++

What Is Aggregate Member Initialization In C++?

The Aggregate Member Initialization is one of the features of C++. This feature is improved and modernized with C++11, C++14 and C++20. With this feature, objects can initialize an aggregate member from braced-init-list. In this post, we explain what the aggregate member initialization is and what were the changes to it in modern C++ standards. What is aggregate member initialization in modern…
Read more
C++C++11C++14C++17C++20Learn C++Syntax

What Is An Explicit Virtual Override in Modern C++?

Modern C++ has many additions compared to the original C++ standard. Regarding virtual overrides, C++11 tends to tighten the rules, to detect some problems that often arise. To achieve this goal C++11 introduces two new contextual keywords, the final and the override specifiers. Theoverride specifieris used to redefine the base class function in a derived class with the same signature…
Read more
C++C++11C++14C++17C++20Learn C++Syntax

What is The Move Assignment Operator In Modern C++?

The Move Assignment Operator is one of the great features of Object-Oriented Programming in professional development. It complements features like the copy assignment operator, copy constructor, move constructor, and destructor. Since the C++11 standards, the move assignment operator is declared by using “operator=” and it allows you to move one object to another object. In this…
Read more
C++C++11C++14C++17C++20Learn C++

What Is An Eligible Move Constructor In Modern C++?

The object-oriented programming features of modern C++ is really enhanced with many features, such as Classes, Objects, constructors, move constructors, copy constructors, destructors, etc. Since the C++11 standard was released one of the modern programming features is the move constructor that allows you to move the resources from one object to another object without copying them. One of the…
Read more