On Thu, Mar 06, 2008 at 06:13:23PM -0500, rgheck wrote: > > Is there a way to make the default copy constructor private? I want to do > this: > private: MyClass(MyClass const &); > but I don't want to have to define this function: I was the compiler to do > it. Is this possible?
No. The automatically generated one is always public. You might achieve something similar by using an (otherwise) empty base class with a private c'ctor. Andre' >
