With explicitly deleted member functions in C++11, is it still worthwhile to inherit from a noncopyable base class?
Well, this: private: MyClass(const MyClass&) {} MyClass& operator=(const MyClass&) {} Still technically allows MyClass to be copied by members and friends. Sure, those types and functions are theoretically under your control, but the class is still copyable. At least with boost::noncopyable and = delete, nobody can copy the class. I don’t get why some people … Read more