5 ms·
> They had discovered that you could clear a string under MSVC by `memset()`ing over it. Why was that? Was it too problematic to just call std::string::clear ?
by rewmie 3y ago
> They had discovered that you could clear a string under MSVC by `memset()`ing over it.
Why was that? Was it too problematic to just call std::string::clear ?