C++C++11C++14C++17C++20Introduction to C++Learn C++Syntax

Learn How To Use The Final Specifier 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. The final specifier (keyword) is used for a function or for a class that cannot be derived and overridden by derived classes. This…
Read more
C++C++11C++14C++17C++20Introduction to C++Learn C++Syntax

What Is An Extended sizeof In Modern C++?

In modern programming, the size of any data is very important, while the programmers are trying to minimize data types or stream packages, global data transfer is increasing by the requests of new technologies. Thus, we need to know each data type in programming. The sizeof() function is very useful to get the size of variables in bytes. C++11 extends the functionality of sizeof function so that…
Read more
C++C++11C++14C++17C++20Introduction to C++Learn C++

What Is The Long Long Int Type In C++?

In the early days of C++ there were few data types such as char, float, and int. Over time these types improved with new additions. Modern C++ is really amazing, it allows you to define your data type in accordance with the limits of your variable values. One of the largest integer types is the unsigned long long or unsigned long long int and in this post we explain how to use the long long int…
Read more
C++C++11C++14C++17C++20Learn C++SyntaxTemplates

What Is An Implicitly-defined Move Constructor in Modern C++?

The Move Constructor is one of the great features of Object Oriented Programming in C++, such as other features like; copy assignment operator constructors, copy constructors, move assignment operators, destructors, etc. Since the C++11 standards, inmodern development,the move constructor allows you to move the resources from one object to another object without copying them. One of…
Read more