For the record: member variables do not get initialized automatically, they remain uninitialized (undefined values). Zero for pointer initialization instead of NULL is OK since NULL is required to be a #define for 0 in C++ but the value nullptr is better if the code is compiled using the current standard.
For the record: member variables do not get initialized automatically, they remain uninitialized (undefined values). Zero for pointer initialization instead of NULL is OK since NULL is required to be a #define for 0 in C++ but the value nullptr is better if the code is compiled using the current standard.
This change is good.