1 2 3 4 5 6 7 8 9
#pragma once class ICommand { public: virtual ~ICommand() = default; virtual void execute() noexcept = 0; };