News for hackers. Stuff that matters.
Re:My Most Important C++ Aha Moments (2006) by kmiroslav on Sunday June 26, 2016 @10:25AM (#11980915)
Interesting, I didn't know about `delete`.

Come to think of it, the trick to make something private in order to "remove" it is one of these very few areas where C++ makes you pay for something you don't use, so I'm not surprised that there is now a special keyword (well, a repurposed keyword) to address that.

Re:My Most Important C++ Aha Moments (2006) by Rusky on Sunday June 26, 2016 @11:46AM (#11981253)
A declared-private but unimplemented method shouldn't have any runtime cost. =delete is just a syntactic convenience.