https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54351
TC <rs2740 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rs2740 at gmail dot com --- Comment #12 from TC <rs2740 at gmail dot com> --- ~unique_ptr()'s specification doesn't say that it assigns to the stored pointer at any time. Since unique_ptr can be used with pointer-like things whose assignment operator can have observable side effects, is doing this assignment in the destructor conforming?