Hello,
So, at my work we use a static analysis tool and it is pointing out some uninitialized variables. One of which is a class member variable which is a C struct. Now, that variable is already declared in the header file for the class.
Currently in the class constructor I am doing:
Is there a C++ way to do this? I Googled this but all I really found was:Code:memset( &thestruct, 0, sizeof( thestruct ) );
Which doesn't really apply here. Thanks.Code:StructDef thestruct = {};