Here is the situation :
I use a malloc to allocate memory for a struct. The struct contains various items such as pointers, string variables and vectors.
The
Using object without constructing it must be an undefined behaviour. Anything may happen at any moment. If you do this, you must not rely on any part of your code to run smoothly, because the language doesn't guarantee anything in this case.