2 ms·
Yes, I often delete the copy constructor so that accidental copy cases become compile-time errors, though tttt that doesn’t seem to come up that often. I was b
by gumby 7y ago
Yes, I often delete the copy constructor so that accidental copy cases become compile-time errors, though tttt that doesn’t seem to come up that often.
I was bitten by a use-after-move last week but it was my own fault in some startup-time-order-of-initialization undefined behavior that the code was depending on that only worked on one compiler. It’s pretty uncommon.