My most unpopular opinion: Modern C++17 is significantly less safe than C.
-
-
They do it because that's the whole purpose of them? How does that have anything to do with destructors in general?
-
Smart pointers’ destructors make it easy to get UAF because they are invisibly invoked while references to the memory might exist.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.