Denied copy by default in C++ class