To disallow an operation on your object class, you can
1) declare the function as private
2) do not provide the implementation (if called, caused link error. Prevent being friended)
To disallow an operation on your object class, you can
1) declare the function as private
2) do not provide the implementation (if called, caused link error. Prevent being friended)