Let's say I have a simple c++ component called Component like this :
class Component {
public:
explicit Component(int i)
: _integer(i) {
}
~Component() {
}
private:
int _integer;
Component(const Component&);
Component& operator=(const Component&);
};
I usually found in the code I read the two last instructions but I do not really understand it. Is it mandatory for the correct use of the component ?