don't memset structs or classes in C++, fixes regression from last commit (nw)