Junior — Senior
Defining a class with forbidden copy and move operations
livecode
Task condition
It is necessary to declare a class and make it non-copyable and non-movable by deleting the corresponding constructors and operators.
class MyClass {
public:
MyClass();
// prohibit copying and moving
};