C/C++
What happens in the constructor when the new operator is called if an exception occurs? Is there a risk of memory leak in this case?
How to prevent a class user from creating an object of this class on the heap?
In which STL containers is the red-black tree implemented?
What can go wrong if an exception is thrown from a constructor?
How is memory reallocation performed for a std::vector container in C++?
Tell me about the 'this' pointer in C++.
How can monetary equivalents be stored using the int data type?
What nuances should be considered when an exception is thrown from a constructor?
What is the RAII ideology?
Is throwing an exception from a constructor considered good practice?
How much space does an object of an empty class occupy in C++?
What should be remembered when throwing exceptions in a constructor?
How can a constant method be bypassed in C++?
What is a stack and memory alignment technologies?
What is the purpose of a pure virtual method and what is its syntactic structure?
Can a template in C++ have a variable number of arguments?
Is it possible to change the owner of the object pointed to by a unique_ptr?
How does the counter work in shared_ptr?
In which STL containers is the hash table implemented?
Why is a virtual destructor needed in C++?