3 ms·
The libstdc++ and libc++ destructors are both standard-compliant (as would be a destructor that doesn’t null the pointer at all) because any program that attemp
by anderskaseorg 6y ago
The libstdc++ and libc++ destructors are both standard-compliant (as would be a destructor that doesn’t null the pointer at all) because any program that attempts to observe the difference is wrong. See https://stackoverflow.com/a/66295139/115030 https://stackoverflow.com/a/66295139/115030, https://cplusplus.github.io/LWG/issue2224 https://cplusplus.github.io/LWG/issue2224.