Miscellany
public cpp v1 · immutable// IComponent.hclass IComponent{public: virtual void Debug(void);};// IComponent.cppvoid IComponent::Debug(void){ }// MyComponent.hclass MyComponent : public IComponent{ // note no implementation of Debug // or modification of this file is needed};// main.cppint main(void){ MyComponent component; component.Debug(); return 0;}