Cast in C++
My short notes for casting in C++ Static Cast Checks in compile time that the types of the casing is possible and correct Reinterpret Cast Allows casting in different types. Even if the types...
My short notes for casting in C++ Static Cast Checks in compile time that the types of the casing is possible and correct Reinterpret Cast Allows casting in different types. Even if the types...
In the life of the C++ programmer, there are 2 major interesting constructor strategies. One of them is for copping an object and the other for moving data. The copy constructor is basic structure...
If you using modern C++ in your programing life there are three important concepts in your life to manage methods. If you compose a class without writing your own constructor (or copy constructor), The...
Before Modern C++ approach (C++11) we initialized our class something like that. But Modern C++ brings us this option. Initializing by using simple curly brackets creates a method which runs before everything includes constructor...