My most unpopular opinion: Modern C++17 is significantly less safe than C.
-
-
Not a problem if you don't write destructors. With RAII there's not much need for custom destructors.
-
IMHO it's a bad practice to refer the outside world from a destructor (assuming multi-threaded env + possibility of ref cnt and shared ptr).
End of conversation
New conversation -
-
-
I can't even count how many times I've had to tell people about how references make no safety guarantees.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.