1 year ago

#349953

test-img

MarkP

Does Dead Store Elimination work on class member variables in the Destructor?

I'm aware that DSE is a problem for crypto developers who primarily use C, particularly with the reliance on memset. However, would the same be true if a class zeroes out its member variables within the destructor? Does DSE work on destructors? Do the various C++ versions treat this differently?

c++

destructor

memset

0 Answers

Your Answer

Accepted video resources