Chromium, Memset, Open Source, Cpp, Bug Fixes.
But you can write much easier and safer: HDHITTESTINFO hhti = {}; If we are talking about the constructor: class C { int A[100]; public: C() { memset(A, 0, sizeof(A)); } }; It is possible to write as follows: class C { int A[100] = {}; public: C() { } }; Incorrect Expectations from Memset